mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Don't use MaterialData when its not needed.
This commit is contained in:
parent
01142b67c6
commit
8a97718dd4
@ -382,7 +382,7 @@ public class Fishing {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case SQUID:
|
case SQUID:
|
||||||
Misc.dropItem(location, new ItemStack(new MaterialData(Material.INK_SACK, (byte) 0).toItemStack()));
|
Misc.dropItem(location, new ItemStack(Material.INK_SACK, 1, (short) 0));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WITCH:
|
case WITCH:
|
||||||
|
Loading…
Reference in New Issue
Block a user