Missed a +1 on village doors

This commit is contained in:
Aikar 2018-10-11 21:54:15 -04:00
parent b6902b9615
commit 71645db85f

View file

@ -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