Disable Mob Despawning

This commit is contained in:
Sn0wStorm 2013-10-14 18:45:33 +02:00
parent c26c224b9e
commit 6249d80bca

View File

@ -101,6 +101,9 @@ public class DMobType {
entity.setHealth(maxHealth);
}
/* Disable Despawning */
entity.setRemoveWhenFarAway(false);
/* Spawn Mob */
new DMob(entity, gWorld, this);