Updated for SpoutAPI inventory changes

This commit is contained in:
zml2008 2012-03-30 09:17:21 -07:00
parent c76f119fa4
commit 15714dc78c

View File

@ -78,7 +78,7 @@ public class SpoutPlayer extends LocalPlayer {
@Override
public void giveItem(int type, int amt) {
player.getEntity().getInventory().addItem(new ItemStack(MaterialRegistry.get((short) type), amt));
player.getEntity().getInventory().addItem(new ItemStack(MaterialRegistry.get((short) type), amt), false);
}
@Override