mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-23 11:06:14 +01:00
Clear all monster equipment on spawn to prevent unexpected tank zombies.
This commit is contained in:
parent
11714ad2ab
commit
ebbc069128
@ -103,6 +103,7 @@ public enum MACreature
|
||||
|
||||
public LivingEntity spawn(Arena arena, World world, Location loc) {
|
||||
LivingEntity e = (LivingEntity) world.spawnEntity(loc, type);
|
||||
e.getEquipment().clear();
|
||||
|
||||
switch (this) {
|
||||
case SHEEP:
|
||||
|
Loading…
Reference in New Issue
Block a user