mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 02:39:05 +00:00
Fix Persistent Ability Entities
This commit is contained in:
1 parent
ef276b8145
commit
4dde214f94
5 files changed
+10
-186
No files matched your search
@@ -926,14 +926,12 @@ public abstract class EntityEnergyProjectile extends EntityEnergyAbility {
|
||||
|
||||
@Override
|
||||
protected void readEntityFromNBT(NBTTagCompound nbt) {
|
||||
readBaseNBT(nbt);
|
||||
readProjectileNBT(nbt);
|
||||
// Intentionally empty — ability entities are transient (not saved to world)
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void writeEntityToNBT(NBTTagCompound nbt) {
|
||||
writeBaseNBT(nbt);
|
||||
writeProjectileNBT(nbt);
|
||||
// Intentionally empty — ability entities are transient (not saved to world)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user