fixed chickens not spawning
This commit is contained in:
parent
00da27a3d6
commit
f1da68a82a
@ -451,6 +451,7 @@ public class SkyWars extends SoloGame
|
||||
return;
|
||||
}
|
||||
|
||||
CreatureAllowOverride = true;
|
||||
for (Location loc : WorldData.GetDataLocs("BROWN"))
|
||||
{
|
||||
Chicken chicken = loc.getWorld().spawn(loc.clone().add(0, 1, 0), Chicken.class);
|
||||
@ -461,6 +462,7 @@ public class SkyWars extends SoloGame
|
||||
chicken.setMaxHealth(4);
|
||||
chicken.setHealth(4);
|
||||
}
|
||||
CreatureAllowOverride = false;
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
|
Loading…
Reference in New Issue
Block a user