1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-13 18:14:38 +02:00

Missed a spot

This commit is contained in:
Chris Ward
2013-01-09 01:11:14 +11:00
parent 9f5ea1bd39
commit 530dfd9129

View File

@@ -34,7 +34,7 @@ public class SignFree extends EssentialsSign
}
item.setAmount(item.getType().getMaxStackSize());
InventoryWorkaround.addItem(player.getPlayer().getInventory(), true, item);
InventoryWorkaround.addItems(player.getPlayer().getInventory(), item);
player.sendMessage("Item added to your inventory.");
player.getPlayer().updateInventory();
//TODO: wait for a fix in bukkit