mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Add locale to en-gb and minor update to how player cross-server teleporting is tracked
Signed-off-by: BuildTools <[email protected]>
This commit is contained in:
1 parent
a7fb700d05
commit
50bed71414
2 files changed
+4
-2
No files matched your search
@@ -107,7 +107,6 @@ public class PlayerListener implements Listener {
|
||||
final UUID uuid = p.getUniqueId();
|
||||
if (!HuskHomes.isTeleporting(uuid)) {
|
||||
final Location logOutLocation = p.getLocation();
|
||||
HuskHomes.setNotTeleporting(uuid);
|
||||
Connection connection = HuskHomes.getConnection();
|
||||
Bukkit.getScheduler().runTaskAsynchronously(plugin, () -> {
|
||||
try {
|
||||
@@ -118,6 +117,8 @@ public class PlayerListener implements Listener {
|
||||
Bukkit.getLogger().severe("An SQL exception occurred in retrieving if a warp exists from the table.");
|
||||
}
|
||||
});
|
||||
} else {
|
||||
HuskHomes.setNotTeleporting(uuid);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user