0
0
mirror of https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git synced 2025-07-01 11:08:33 +00:00
Files
craftbukkit/nms-patches/net/minecraft/server/waypoints/ServerWaypointManager.patch
2025-06-18 01:15:00 +10:00

12 lines
574 B
Diff

--- a/net/minecraft/server/waypoints/ServerWaypointManager.java
+++ b/net/minecraft/server/waypoints/ServerWaypointManager.java
@@ -123,7 +123,7 @@
}
private static boolean isLocatorBarEnabledFor(EntityPlayer entityplayer) {
- return entityplayer.level().getServer().getGameRules().getBoolean(GameRules.RULE_LOCATOR_BAR);
+ return entityplayer.level().getGameRules().getBoolean(GameRules.RULE_LOCATOR_BAR); // CraftBukkit - per-world
}
private void createConnection(EntityPlayer entityplayer, WaypointTransmitter waypointtransmitter) {