mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
1 parent
67781edd22
commit
198438c925
20 files changed
+44
-40
No files matched your search
@@ -439,7 +439,9 @@ public class dataManager {
|
||||
|
||||
public static void updateHomeLocation(String ownerName, String homeName, Location newLocation) {
|
||||
Integer playerID = getPlayerId(ownerName);
|
||||
deleteHomeTeleportLocation(playerID, homeName);
|
||||
if (!HuskHomes.settings.getStorageType().equalsIgnoreCase("mySQL")) {
|
||||
deleteHomeTeleportLocation(playerID, homeName);
|
||||
}
|
||||
database.setHomeTeleportPoint(homeName, playerID, new TeleportationPoint(newLocation, HuskHomes.settings.getServerID()));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user