mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-16 19:44:15 +02:00
Missed a spot
This commit is contained in:
@@ -34,7 +34,7 @@ public class SignFree extends EssentialsSign
|
|||||||
}
|
}
|
||||||
|
|
||||||
item.setAmount(item.getType().getMaxStackSize());
|
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.sendMessage("Item added to your inventory.");
|
||||||
player.getPlayer().updateInventory();
|
player.getPlayer().updateInventory();
|
||||||
//TODO: wait for a fix in bukkit
|
//TODO: wait for a fix in bukkit
|
||||||
|
Reference in New Issue
Block a user