Allow Spawns to Naturally Despawn always

This commit is contained in:
Kam committed 2023-08-01 17:14:24 -04:00
1 parent 50ef7aef62
commit 6d0df76447
1 file changed
+2
@@ -375,6 +375,8 @@ public class JobSpawner extends JobInterface{
EntityNPCInterface snpc = (EntityNPCInterface) living;
snpc.stats.spawnCycle = 3;
snpc.ai.returnToStart = false;
snpc.stats.canDespawn = true;
snpc.stats.playerSetCanDespawn = true;
}
int i = MathHelper.floor_double(living.posX / 16.0D);