Fix Crafting with items that randomly add NBT Data when you look at them.
This commit is contained in:
@@ -58,8 +58,13 @@ public class PacketInventoryAction extends AppEngPacket
|
||||
if ( sender.openContainer instanceof ContainerCraftAmount )
|
||||
{
|
||||
ContainerCraftAmount cca = (ContainerCraftAmount) sender.openContainer;
|
||||
|
||||
if ( aebc.getTargetStack() != null )
|
||||
{
|
||||
cca.craftingItem.putStack( aebc.getTargetStack().getItemStack() );
|
||||
cca.whatToMake = aebc.getTargetStack();
|
||||
}
|
||||
|
||||
cca.detectAndSendChanges();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user