diff --git a/src/main/java/com/teamabnormals/endergetic/common/entity/puffbug/PuffBug.java b/src/main/java/com/teamabnormals/endergetic/common/entity/puffbug/PuffBug.java index 27213d56..e4a3ad41 100644 --- a/src/main/java/com/teamabnormals/endergetic/common/entity/puffbug/PuffBug.java +++ b/src/main/java/com/teamabnormals/endergetic/common/entity/puffbug/PuffBug.java @@ -1102,7 +1102,7 @@ public SpawnGroupData finalizeSpawn(ServerLevelAccessor worldIn, DifficultyInsta @Override public boolean removeWhenFarAway(double distanceToClosestPlayer) { - return this.getHive() == null && !this.isFromBottle() && !this.hasCustomName(); + return this.getHivePos() == null && !this.isFromBottle() && !this.hasCustomName(); } @Override @@ -1431,4 +1431,4 @@ public float[] getRotations(float ptc) { return new float[]{Mth.lerp(ptc, this.prevYaw, this.yaw), Mth.lerp(ptc, this.prevPitch, this.pitch)}; } } -} \ No newline at end of file +}