moved projectilesKeepTerrain to DataStats

This commit is contained in:
1whohears committed 2022-05-26 01:45:10 -05:00
1 parent 422dd3fc90
commit 84973a025a
4 files changed
+6 -7

No files matched your search

@@ -139,7 +139,6 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
public boolean updateClient = false;
public boolean updateAI = false;
public boolean projectilesKeepTerrain = false;
public FlyingMoveHelper flyMoveHelper = new FlyingMoveHelper(this);
public PathNavigate flyNavigator = new PathNavigateFlying(this, worldObj);
@@ -958,8 +957,6 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
linkedName = compound.getString("LinkedNpcName");
projectilesKeepTerrain = compound.getBoolean("ProjectilesKeepTerrain");
if(!isRemote())
LinkedNpcController.Instance.loadNpcData(this);
@@ -991,7 +988,6 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
compound.setLong("TotalTicksAlive", totalTicksAlive);
compound.setInteger("ModRev", npcVersion);
compound.setString("LinkedNpcName", linkedName);
compound.setBoolean("ProjectilesKeepTerrain", projectilesKeepTerrain);
}
public void updateHitbox() {