update mache, rebuild patches for concurrency fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user