mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +00:00
Some more encapsulation
This commit is contained in:
8 files changed
+33
-17
No files matched your search
@@ -136,12 +136,12 @@ public class SettingHandler {
|
||||
plugin.saveConfig();
|
||||
|
||||
// Update the current spawn location
|
||||
TeleportManager.spawnLocation = new TeleportationPoint(location, HuskHomes.getSettings().getServerID());
|
||||
TeleportManager.setSpawnLocation(new TeleportationPoint(location, HuskHomes.getSettings().getServerID()));
|
||||
}
|
||||
|
||||
// Update current spawn location from config
|
||||
public static void fetchSpawnLocation() {
|
||||
TeleportManager.spawnLocation = getSpawnLocation();
|
||||
TeleportManager.setSpawnLocation(getSpawnLocation());
|
||||
}
|
||||
|
||||
// Get spawn location from config
|
||||
|
||||
Reference in new issue
Block a user