fix place lime wool bug (use Item.fromNotch)

This commit is contained in:
Romain Beaumont 2015-11-28 01:48:54 +01:00
parent 6d098deb23
commit af3cfeda51

View file

@ -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)