diff --git a/NookureStaff-Paper/src/main/java/com/nookure/staff/paper/extension/staff/PaperStaffModeExtension.java b/NookureStaff-Paper/src/main/java/com/nookure/staff/paper/extension/staff/PaperStaffModeExtension.java index c42b72e5..679a79cb 100644 --- a/NookureStaff-Paper/src/main/java/com/nookure/staff/paper/extension/staff/PaperStaffModeExtension.java +++ b/NookureStaff-Paper/src/main/java/com/nookure/staff/paper/extension/staff/PaperStaffModeExtension.java @@ -115,7 +115,7 @@ public void disableStaffMode() { long time = System.currentTimeMillis(); player.disablePlayerPerks(); restoreInventory(); - if (config.get().staffMode.teleportToPreviousLocation()) restoreInventory(); + if (config.get().staffMode.teleportToPreviousLocation()) restoreLocation(); player.sendMiniMessage(messages.get().staffMode.toggledOff()); writeStaffModeState(false);