Whoops Forgot to Sync NBTs

This commit is contained in:
Kam committed 2026-02-21 04:56:53 -05:00
1 parent 06809933ed
commit 12c50d5f6a
6 files changed
+128 -11

No files matched your search

@@ -934,6 +934,18 @@ public abstract class EntityEnergyProjectile extends EntityEnergyAbility {
// Intentionally empty — ability entities are transient (not saved to world)
}
@Override
protected void writeSpawnNBT(NBTTagCompound nbt) {
writeBaseNBT(nbt);
writeProjectileNBT(nbt);
}
@Override
protected void readSpawnNBT(NBTTagCompound nbt) {
readBaseNBT(nbt);
readProjectileNBT(nbt);
}
/**
* Read base projectile properties from NBT.
*/