Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-15 11:00:06 +01:00
Missed a +1 on village doors
Dieser Commit ist enthalten in:
Ursprung
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
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren