update mache, rebuild patches for concurrency fix

This commit is contained in:
MiniDigger | Martin
2024-12-14 16:08:25 +01:00
parent 649f20ca93
commit f803e7cc28
3 changed files with 12 additions and 12 deletions

View File

@@ -47,18 +47,18 @@
age += amount * 20;
if (age > 0) {
@@ -104,6 +_,7 @@
super.addAdditionalSaveData(tag);
tag.putInt("Age", this.getAge());
tag.putInt("ForcedAge", this.forcedAge);
+ tag.putBoolean("AgeLocked", this.ageLocked); // CraftBukkit
super.addAdditionalSaveData(compound);
compound.putInt("Age", this.getAge());
compound.putInt("ForcedAge", this.forcedAge);
+ compound.putBoolean("AgeLocked", this.ageLocked); // CraftBukkit
}
@Override
@@ -111,6 +_,7 @@
super.readAdditionalSaveData(tag);
this.setAge(tag.getInt("Age"));
this.forcedAge = tag.getInt("ForcedAge");
+ this.ageLocked = tag.getBoolean("AgeLocked"); // CraftBukkit
super.readAdditionalSaveData(compound);
this.setAge(compound.getInt("Age"));
this.forcedAge = compound.getInt("ForcedAge");
+ this.ageLocked = compound.getBoolean("AgeLocked"); // CraftBukkit
}
@Override