mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 17:39:39 +00:00
Allow Spawns to Naturally Despawn always
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user