mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-27 04:55:25 +01:00
Merge pull request #331 from slipcor/skeleton
Explicitly give skeletons a brand new bow to prevent them from running around punching with the bow they already have.
This commit is contained in:
commit
50a14a68a1
@ -7,11 +7,13 @@ import java.util.Map;
|
||||
|
||||
import org.bukkit.DyeColor;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.World;
|
||||
import org.bukkit.entity.*;
|
||||
|
||||
import com.garbagemule.MobArena.MobArena;
|
||||
import com.garbagemule.MobArena.framework.Arena;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
public class MACreature
|
||||
{
|
||||
@ -153,6 +155,9 @@ public class MACreature
|
||||
case "magmacubehuge":
|
||||
((Slime) e).setSize(4);
|
||||
break;
|
||||
case "skeleton":
|
||||
e.getEquipment().setItemInMainHand(new ItemStack(Material.BOW, 1));
|
||||
break;
|
||||
case "babyzombievillager":
|
||||
case "babyzombie":
|
||||
case "babypigman":
|
||||
|
Loading…
Reference in New Issue
Block a user