mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Ensure the user's current teleport is cleared for failed cross-server teleports
This commit is contained in:
1 parent
042fd757a0
commit
a180311662
1 file changed
+3
@@ -314,7 +314,10 @@ public class TeleportManager {
|
||||
for (final Settings.EconomyAction action : economyActions) {
|
||||
plugin.performEconomyTransaction(onlineUser, action);
|
||||
}
|
||||
} else if (plugin.getSettings().crossServer) {
|
||||
plugin.getDatabase().setCurrentTeleport(onlineUser, null);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user