mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-01 20:52:12 -07:00
Ensure waypoints are per world
This commit is contained in:
@@ -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) {
|
Reference in New Issue
Block a user