Fix unloaded chunks movement setting

This commit is contained in:
Aikar 2018-10-24 08:38:34 -04:00
parent caddaa85a6
commit f4ecd3a322

View file

@ -16,7 +16,7 @@ index 7ac07ac07ac0..7ac07ac07ac0 100644
+
+ public boolean preventMovingIntoUnloadedChunks = false;
+ 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