forked from MagicBane/Server
characters logged in exceeding max:1 will be given PR999 death shroud
This commit is contained in:
@@ -530,7 +530,7 @@ public enum InterestManager implements Runnable {
|
|||||||
|
|
||||||
// apply the 1 box restriction
|
// apply the 1 box restriction
|
||||||
for(PlayerCharacter pc : SessionManager.getAllActivePlayers()){
|
for(PlayerCharacter pc : SessionManager.getAllActivePlayers()){
|
||||||
if(origin.machineID == pc.getClientConnection().machineID){
|
if(origin.machineID.equals(pc.getClientConnection().machineID)){
|
||||||
//add deatshroud effect
|
//add deatshroud effect
|
||||||
PowersManager.applyPower(player, player, Vector3fImmutable.ZERO, 1672601862, 999, false);
|
PowersManager.applyPower(player, player, Vector3fImmutable.ZERO, 1672601862, 999, false);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user