mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
Fixed Shake Mob using "data" value as amount
Bug introduced in one of the previous commits
This commit is contained in:
parent
755b9bc2a1
commit
b43538ee78
@ -122,7 +122,7 @@ public final class ShakeMob {
|
|||||||
possibleDrops.put(new ItemStack(Material.RAW_BEEF), 49);
|
possibleDrops.put(new ItemStack(Material.RAW_BEEF), 49);
|
||||||
break;
|
break;
|
||||||
case CREEPER:
|
case CREEPER:
|
||||||
possibleDrops.put(new ItemStack(Material.SKULL_ITEM, (byte) 0x4), 1);
|
possibleDrops.put(new ItemStack(Material.SKULL_ITEM, 1, (short) 4), 1);
|
||||||
possibleDrops.put(new ItemStack(Material.SULPHUR), 99);
|
possibleDrops.put(new ItemStack(Material.SULPHUR), 99);
|
||||||
break;
|
break;
|
||||||
case ENDERMAN:
|
case ENDERMAN:
|
||||||
@ -158,7 +158,7 @@ public final class ShakeMob {
|
|||||||
possibleDrops.put(new ItemStack(Material.WOOL, Misc.getRandom().nextInt(6) + 1), 100);
|
possibleDrops.put(new ItemStack(Material.WOOL, Misc.getRandom().nextInt(6) + 1), 100);
|
||||||
break;
|
break;
|
||||||
case SKELETON:
|
case SKELETON:
|
||||||
possibleDrops.put(new ItemStack(Material.SKULL_ITEM), 2);
|
possibleDrops.put(new ItemStack(Material.SKULL_ITEM, 1, (short) 0), 2);
|
||||||
possibleDrops.put(new ItemStack(Material.BONE), 49);
|
possibleDrops.put(new ItemStack(Material.BONE), 49);
|
||||||
possibleDrops.put(new ItemStack(Material.ARROW, Misc.getRandom().nextInt(3) + 1), 49);
|
possibleDrops.put(new ItemStack(Material.ARROW, Misc.getRandom().nextInt(3) + 1), 49);
|
||||||
break;
|
break;
|
||||||
@ -186,7 +186,7 @@ public final class ShakeMob {
|
|||||||
possibleDrops.put(new ItemStack(Material.POTION), 13);
|
possibleDrops.put(new ItemStack(Material.POTION), 13);
|
||||||
break;
|
break;
|
||||||
case ZOMBIE:
|
case ZOMBIE:
|
||||||
possibleDrops.put(new ItemStack(Material.SKULL_ITEM, (byte) 0x2), 2);
|
possibleDrops.put(new ItemStack(Material.SKULL_ITEM, 1, (short) 2), 2);
|
||||||
possibleDrops.put(new ItemStack(Material.ROTTEN_FLESH), 98);
|
possibleDrops.put(new ItemStack(Material.ROTTEN_FLESH), 98);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user