mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-21 18:32:17 +00:00
Whoops Forgot to Sync NBTs
This commit is contained in:
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.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user