Remove server auto-fetching due to instability

This commit is contained in:
William278 committed 2023-02-11 13:12:35 +00:00
1 parent d928ee6ade
commit eb4652d6ff
17 files changed
+43 -161

No files matched your search

@@ -103,7 +103,7 @@ public abstract class MapHook extends PluginHook {
if (position instanceof Home && !plugin.getSettings().publicHomesOnMap) return false;
try {
return position.server.equals(plugin.getPluginServer());
return position.server.equals(plugin.getServerName());
} catch (HuskHomesException e) {
return plugin.getWorlds().stream()
.map(world -> world.uuid)