fix last facade on off hand deleting the item on the main hand when used

fixes #101
This commit is contained in:
PrototypeTrousers
2022-05-09 14:14:01 -03:00
parent de7d6321f0
commit ffdc052d99
@@ -177,7 +177,7 @@ public class PartPlacement
;
if( held.getCount() == 0 )
{
player.inventory.mainInventory.set( player.inventory.currentItem, ItemStack.EMPTY );
player.setHeldItem( hand, ItemStack.EMPTY );
MinecraftForge.EVENT_BUS.post( new PlayerDestroyItemEvent( player, held, hand ) );
}
}