From a42084b594af4ff48ad29acaf0c4fdaba298b839 Mon Sep 17 00:00:00 2001 From: Angelillo15 Date: Wed, 4 Dec 2024 22:16:08 +0100 Subject: [PATCH] fix(vanish): showing leave message when entering without having staff mode but vanish yes --- .../java/com/nookure/staff/paper/StaffPaperPlayerWrapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NookureStaff-Paper/src/main/java/com/nookure/staff/paper/StaffPaperPlayerWrapper.java b/NookureStaff-Paper/src/main/java/com/nookure/staff/paper/StaffPaperPlayerWrapper.java index 6ef097b8..0bafc400 100644 --- a/NookureStaff-Paper/src/main/java/com/nookure/staff/paper/StaffPaperPlayerWrapper.java +++ b/NookureStaff-Paper/src/main/java/com/nookure/staff/paper/StaffPaperPlayerWrapper.java @@ -142,7 +142,7 @@ public void checkVanishState() { logger.debug("StaffDataModel state: %s", staffDataModel); if (staffDataModel.vanished()) { - enableVanish(staffMode.get()); + enableVanish(true); } else { disableVanish(true); }