From af3cfeda514c5fc3dc5eaa8d866606cf22dc394a Mon Sep 17 00:00:00 2001 From: Romain Beaumont Date: Sat, 28 Nov 2015 01:48:54 +0100 Subject: [PATCH] fix place lime wool bug (use Item.fromNotch) --- src/lib/plugins/inventory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/plugins/inventory.js b/src/lib/plugins/inventory.js index de4bc24..9969e08 100644 --- a/src/lib/plugins/inventory.js +++ b/src/lib/plugins/inventory.js @@ -134,7 +134,7 @@ module.exports.player = function(player) return; } - var newItem = new ItemStack(item.blockId, item.itemCount, item.metadata) + var newItem = ItemStack.fromNotch(item); player.inventory.updateSlot(slot, newItem) if (slot==5)