mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 11:45:51 +00:00
Merge pull request #730 from Firebuggie/master
Fixes Butcher Androids being able to loot Wither Skeleton Skulls again.
This commit is contained in:
commit
934f46a03f
@ -56,10 +56,8 @@ public class AndroidKillingListener implements Listener {
|
||||
items.add(new ItemStack(Material.GOLD_NUGGET, 1 + CSCoreLib.randomizer().nextInt(3)));
|
||||
break;
|
||||
}
|
||||
case SKELETON: {
|
||||
if (((Skeleton) e.getEntity()).getSkeletonType().equals(SkeletonType.WITHER)) {
|
||||
case WITHER_SKELETON: {
|
||||
if (CSCoreLib.randomizer().nextInt(250) < 2) items.add(new MaterialData(Material.SKULL_ITEM, (byte) 1).toItemStack(1));
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user