diff --git a/src/main/java/org/samo_lego/simpleauth/event/AuthEventHandler.java b/src/main/java/org/samo_lego/simpleauth/event/AuthEventHandler.java index 4975f70..90b79e2 100644 --- a/src/main/java/org/samo_lego/simpleauth/event/AuthEventHandler.java +++ b/src/main/java/org/samo_lego/simpleauth/event/AuthEventHandler.java @@ -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; } -} \ No newline at end of file +}