mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +00:00
Remove server auto-fetching due to instability
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user