修复nbt拼写问题

This commit is contained in:
17146 2024-12-03 22:01:18 +08:00
parent 7f2fc4c9aa
commit 74934ae014

View file

@ -77,7 +77,7 @@ public class Mk42Entity extends Entity implements GeoEntity, ICannonEntity {
@Override @Override
public void addAdditionalSaveData(CompoundTag compound) { public void addAdditionalSaveData(CompoundTag compound) {
compound.putInt("oolDown", this.entityData.get(COOL_DOWN)); compound.putInt("CoolDown", this.entityData.get(COOL_DOWN));
compound.putFloat("Health", this.entityData.get(HEALTH)); compound.putFloat("Health", this.entityData.get(HEALTH));
} }