Correcting the mistake regarding #41 thanks to @Meeni-mc

This commit is contained in:
samo_lego 2020-12-08 07:43:30 +01:00 committed by GitHub
parent 9f68a53d8c
commit 9e01af9e9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}
}
}