|
|
@ -5114,6 +5114,7 @@ public class PlayerCharacter extends AbstractCharacter { |
|
|
|
|
|
|
|
|
|
|
|
if(!newSystem) |
|
|
|
if(!newSystem) |
|
|
|
return; |
|
|
|
return; |
|
|
|
|
|
|
|
try { |
|
|
|
|
|
|
|
|
|
|
|
if (this.updateLock.writeLock().tryLock()) { |
|
|
|
if (this.updateLock.writeLock().tryLock()) { |
|
|
|
try { |
|
|
|
try { |
|
|
@ -5193,6 +5194,9 @@ public class PlayerCharacter extends AbstractCharacter { |
|
|
|
this.updateLock.writeLock().unlock(); |
|
|
|
this.updateLock.writeLock().unlock(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
}catch(Exception e){ |
|
|
|
|
|
|
|
Logger.error("UPDATE ISSUE: " + e); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
public static void unboxPlayer(PlayerCharacter player){ |
|
|
|
public static void unboxPlayer(PlayerCharacter player){ |
|
|
|
String machineID = player.getClientConnection().machineID; |
|
|
|
String machineID = player.getClientConnection().machineID; |
|
|
|