mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-16 06:30:46 +01:00
Missed a +1 on village doors
This commit is contained in:
parent
b6902b9615
commit
71645db85f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue