mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2025-01-06 00:08:11 +01:00
Disable Mob Despawning
This commit is contained in:
parent
c26c224b9e
commit
6249d80bca
@ -101,6 +101,9 @@ public class DMobType {
|
||||
entity.setHealth(maxHealth);
|
||||
}
|
||||
|
||||
/* Disable Despawning */
|
||||
entity.setRemoveWhenFarAway(false);
|
||||
|
||||
/* Spawn Mob */
|
||||
new DMob(entity, gWorld, this);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user