forked from MagicBane/Server
Complete JodaTime -> java.time migration (remaining objects, db handlers, net msg, jobs) + QC pass; untrack working reference files
This commit is contained in:
1 parent
efd35e89f1
commit
93eb77fcc8
26 files changed
+160
-426
No files matched your search
@@ -15,7 +15,7 @@ import engine.net.client.ClientConnection;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.objects.PlayerCharacter;
|
||||
import engine.server.MBServerStatics;
|
||||
import org.joda.time.DateTime;
|
||||
import java.time.Instant;
|
||||
import org.pmw.tinylog.Logger;
|
||||
|
||||
import java.lang.reflect.Constructor;
|
||||
@@ -86,7 +86,7 @@ public class NetMsgFactory {
|
||||
|
||||
if (protocolMsg == Protocol.NONE) {
|
||||
|
||||
String errorString = DateTime.now().toString() + origin.lastProtocol.name();
|
||||
String errorString = Instant.now().toString() + origin.lastProtocol.name();
|
||||
|
||||
int errorCode = errorString.hashCode();
|
||||
|
||||
|
||||
Reference in new issue
Block a user