Ensure waypoints are per world
This commit is contained in:
parent
d2b1158e6c
commit
023e6c2953
1 changed files with 11 additions and 0 deletions
|
@ -0,0 +1,11 @@
|
|||
--- a/net/minecraft/server/waypoints/ServerWaypointManager.java
|
||||
+++ b/net/minecraft/server/waypoints/ServerWaypointManager.java
|
||||
@@ -102,7 +_,7 @@
|
||||
}
|
||||
|
||||
private static boolean isLocatorBarEnabledFor(ServerPlayer player) {
|
||||
- return player.level().getServer().getGameRules().getBoolean(GameRules.RULE_LOCATOR_BAR);
|
||||
+ return player.level().getGameRules().getBoolean(GameRules.RULE_LOCATOR_BAR); // Paper - per world gamerules
|
||||
}
|
||||
|
||||
private void createConnection(ServerPlayer player, WaypointTransmitter waypoint) {
|
Loading…
Add table
Add a link
Reference in a new issue