Fix unloaded chunks movement setting

This commit is contained in:
Aikar 2018-10-24 08:38:34 -04:00
parent d1ebaaf82b
commit 9e795dfe7f
No known key found for this signature in database
GPG Key ID: 401ADFC9891FAAFE
1 changed files with 1 additions and 1 deletions

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