From 9e01af9e9f920188e513f8327c8ab9d9648c9609 Mon Sep 17 00:00:00 2001 From: samo_lego <34912839+samolego@users.noreply.github.com> Date: Tue, 8 Dec 2020 07:43:30 +0100 Subject: [PATCH] Correcting the mistake regarding #41 thanks to @Meeni-mc --- .../org/samo_lego/simpleauth/event/AuthEventHandler.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 +}