Missed a +1 on village doors

This commit is contained in:
Aikar 2018-10-11 21:54:15 -04:00
parent dc6dbeb6ad
commit 77c6bafe46
No known key found for this signature in database
GPG Key ID: 401ADFC9891FAAFE
1 changed files with 1 additions and 1 deletions

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