Spawn: Simplify getting method, refactoring, add way of getting via API

This commit is contained in:
William278 committed 2022-09-05 16:09:20 +03:00
1 parent f94f9e82db
commit 4db869abf1
6 files changed
+36 -20

No files matched your search

@@ -387,7 +387,7 @@ public class BukkitHuskHomes extends JavaPlugin implements HuskHomes {
}
@Override
public Optional<CachedSpawn> getServerSpawn() {
public Optional<CachedSpawn> getLocalCachedSpawn() {
return Optional.ofNullable(serverSpawn);
}