#168 - Skyroot Bucket duplication fix

This commit is contained in:
Kino 2017-08-04 19:30:53 -04:00
parent 52474fbdb2
commit 4ddf4d01b0

View file

@ -178,7 +178,7 @@ public class ItemSkyrootBucket extends Item
}
else
{
if (!player.inventory.addItemStackToInventory(new ItemStack(fullBucket)))
if (!player.inventory.addItemStackToInventory(new ItemStack(fullBucket, 1, 1)))
{
player.dropItem(new ItemStack(fullBucket, 1, 1), false);
}