aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-Server-Patches
diff options
context:
space:
mode:
authorAikar <[email protected]>2018-10-11 21:54:15 -0400
committerAikar <[email protected]>2018-10-11 21:54:15 -0400
commit77c6bafe46e710f7abed1b16d55ba7f982b9305e (patch)
treec7380ce2cafbded181a968ff8818be2b700b0950 /Spigot-Server-Patches
parentdc6dbeb6ad8fdcbe836795776324b05a7ac0ec9a (diff)
downloadPaper-77c6bafe46e710f7abed1b16d55ba7f982b9305e.tar.gz
Paper-77c6bafe46e710f7abed1b16d55ba7f982b9305e.zip
Missed a +1 on village doors
Diffstat (limited to 'Spigot-Server-Patches')
-rw-r--r--Spigot-Server-Patches/0261-Configurable-Villages-loading-chunks-for-door-checks.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/Spigot-Server-Patches/0261-Configurable-Villages-loading-chunks-for-door-checks.patch b/Spigot-Server-Patches/0261-Configurable-Villages-loading-chunks-for-door-checks.patch
index cc158cfbde..55bd6323c4 100644
--- a/Spigot-Server-Patches/0261-Configurable-Villages-loading-chunks-for-door-checks.patch
+++ b/Spigot-Server-Patches/0261-Configurable-Villages-loading-chunks-for-door-checks.patch
@@ -80,7 +80,7 @@ index bda67faefe..5b56ae1818 100644
VillageDoor villagedoor = (VillageDoor) iterator.next();
+ // Paper start - don't remove doors from unloaded chunks
+ if (!getWorld().isLoaded(villagedoor.getPosition())) {
-+ villagedoor.setLastSeen(villagedoor.getLastSeen());
++ villagedoor.setLastSeen(villagedoor.getLastSeen() + 1);
+ continue;
+ }
+ // Paper end