|
|
@ -4839,6 +4839,7 @@ public class PlayerCharacter extends AbstractCharacter { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static boolean checkIfBoxed(PlayerCharacter player){ |
|
|
|
public static boolean checkIfBoxed(PlayerCharacter player){ |
|
|
|
|
|
|
|
try { |
|
|
|
for (PlayerCharacter pc : SessionManager.getAllActivePlayers()) { |
|
|
|
for (PlayerCharacter pc : SessionManager.getAllActivePlayers()) { |
|
|
|
if (!pc.isActive) |
|
|
|
if (!pc.isActive) |
|
|
|
continue; |
|
|
|
continue; |
|
|
@ -4852,6 +4853,9 @@ public class PlayerCharacter extends AbstractCharacter { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
|
|
|
|
}catch(Exception e){ |
|
|
|
|
|
|
|
return false; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|