Tick dragons when far away to prevent them getting stuck
This commit is contained in:
parent
20338c5a63
commit
e20cae8be9
@ -149,6 +149,7 @@ public class Dragons extends SoloGame
|
||||
EnderDragon dragon = location.getWorld().spawn(location, EnderDragon.class);
|
||||
UtilEnt.vegetate(dragon);
|
||||
UtilEnt.ghost(dragon, true, false);
|
||||
UtilEnt.setTickWhenFarAway(dragon, true);
|
||||
|
||||
location.getWorld().playSound(location, Sound.ENDERDRAGON_GROWL, 20f, 1f);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user