Fix unloaded chunks movement setting
This commit is contained in:
@@ -16,7 +16,7 @@ index 7ac07ac07ac0..7ac07ac07ac0 100644
|
|||||||
+
|
+
|
||||||
+ public boolean preventMovingIntoUnloadedChunks = false;
|
+ public boolean preventMovingIntoUnloadedChunks = false;
|
||||||
+ private void preventMovingIntoUnloadedChunks() {
|
+ private void preventMovingIntoUnloadedChunks() {
|
||||||
+ preventMovingIntoUnloadedChunks = getBoolean("settings.prevent-moving-into-unloaded-chunks", false);
|
+ preventMovingIntoUnloadedChunks = getBoolean("prevent-moving-into-unloaded-chunks", false);
|
||||||
+ }
|
+ }
|
||||||
}
|
}
|
||||||
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
|
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||||
|
|||||||
Reference in New Issue
Block a user