Missed a +1 on village doors
This commit is contained in:
parent
dc6dbeb6ad
commit
77c6bafe46
|
@ -80,7 +80,7 @@ index bda67faefe..5b56ae1818 100644
|
||||||
VillageDoor villagedoor = (VillageDoor) iterator.next();
|
VillageDoor villagedoor = (VillageDoor) iterator.next();
|
||||||
+ // Paper start - don't remove doors from unloaded chunks
|
+ // Paper start - don't remove doors from unloaded chunks
|
||||||
+ if (!getWorld().isLoaded(villagedoor.getPosition())) {
|
+ if (!getWorld().isLoaded(villagedoor.getPosition())) {
|
||||||
+ villagedoor.setLastSeen(villagedoor.getLastSeen());
|
+ villagedoor.setLastSeen(villagedoor.getLastSeen() + 1);
|
||||||
+ continue;
|
+ continue;
|
||||||
+ }
|
+ }
|
||||||
+ // Paper end
|
+ // Paper end
|
||||||
|
|
Loading…
Reference in New Issue