mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
Update AndroidKillingListener.java
This commit is contained in:
parent
2a492ffbf9
commit
bf643cf02e
@ -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)) {
|
||||
if (CSCoreLib.randomizer().nextInt(250) < 2) items.add(new MaterialData(Material.SKULL_ITEM, (byte) 1).toItemStack(1));
|
||||
}
|
||||
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