forked from sorceress/EasyAuth
Correcting the mistake regarding #41 thanks to @Meeni-mc
This commit is contained in:
parent
9f68a53d8c
commit
9e01af9e9f
|
@ -122,8 +122,8 @@ public class AuthEventHandler {
|
|||
else if(config.main.spawnOnJoin) {
|
||||
((PlayerAuth) player).hidePosition(false);
|
||||
|
||||
player.setInvulnerable(!config.experimental.playerInvulnerable);
|
||||
player.setInvisible(!config.experimental.playerInvisible);
|
||||
player.setInvulnerable(false);
|
||||
player.setInvisible(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -218,4 +218,4 @@ public class AuthEventHandler {
|
|||
|
||||
return ActionResult.PASS;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue