mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-05 14:42:22 -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