From ca8e5899f044ce68f7348c4f88603aa2399b362c Mon Sep 17 00:00:00 2001 From: 17146 <1714673995@qq.com> Date: Sat, 22 Mar 2025 00:57:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0C4=E4=BF=9D=E5=AD=98owner?= =?UTF-8?q?=E7=9A=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/atsuishio/superbwarfare/entity/projectile/C4Entity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/atsuishio/superbwarfare/entity/projectile/C4Entity.java b/src/main/java/com/atsuishio/superbwarfare/entity/projectile/C4Entity.java index fc27ef976..d9f75a425 100644 --- a/src/main/java/com/atsuishio/superbwarfare/entity/projectile/C4Entity.java +++ b/src/main/java/com/atsuishio/superbwarfare/entity/projectile/C4Entity.java @@ -79,6 +79,7 @@ public class C4Entity extends Projectile implements GeoEntity { @Override public void addAdditionalSaveData(CompoundTag compound) { + super.addAdditionalSaveData(compound); compound.putString("Target", this.entityData.get(TARGET_UUID)); compound.putString("LastAttacker", this.entityData.get(LAST_ATTACKER_UUID)); compound.putBoolean("IsControllable", this.entityData.get(IS_CONTROLLABLE)); @@ -90,6 +91,7 @@ public class C4Entity extends Projectile implements GeoEntity { @Override public void readAdditionalSaveData(CompoundTag compound) { + super.readAdditionalSaveData(compound); if (compound.contains("LastAttacker")) { this.entityData.set(LAST_ATTACKER_UUID, compound.getString("LastAttacker")); }