From 9e795dfe7fc28cb8ef4b77e0a2b230f5657e5ce5 Mon Sep 17 00:00:00 2001 From: Aikar Date: Wed, 24 Oct 2018 08:38:34 -0400 Subject: [PATCH] Fix unloaded chunks movement setting --- ...6-Add-option-to-prevent-players-from-moving-into-unloa.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Spigot-Server-Patches/0396-Add-option-to-prevent-players-from-moving-into-unloa.patch b/Spigot-Server-Patches/0396-Add-option-to-prevent-players-from-moving-into-unloa.patch index 32eed1ad7..b40f650bb 100644 --- a/Spigot-Server-Patches/0396-Add-option-to-prevent-players-from-moving-into-unloa.patch +++ b/Spigot-Server-Patches/0396-Add-option-to-prevent-players-from-moving-into-unloa.patch @@ -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