can block spells

This commit is contained in:
2025-02-02 21:02:21 -06:00
parent 0d3423d51b
commit c391272e5b
+4
View File
@@ -5114,6 +5114,7 @@ public class PlayerCharacter extends AbstractCharacter {
if(!newSystem)
return;
try {
if (this.updateLock.writeLock().tryLock()) {
try {
@@ -5193,6 +5194,9 @@ public class PlayerCharacter extends AbstractCharacter {
this.updateLock.writeLock().unlock();
}
}
}catch(Exception e){
Logger.error("UPDATE ISSUE: " + e);
}
}
public static void unboxPlayer(PlayerCharacter player){
String machineID = player.getClientConnection().machineID;