mirror of
https://github.com/danbulant/flying-squid
synced 2026-06-11 18:41:31 +00:00
fix place lime wool bug (use Item.fromNotch)
This commit is contained in:
parent
6d098deb23
commit
af3cfeda51
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue