We don't need the showCraftingLabel flag, as IAEStack is perfectly fine with 0 size stacks. (#3071)
Adjust rendering code to use ItemStack with size 1 where required.
This commit is contained in:
@@ -142,7 +142,7 @@ public class PacketInventoryAction extends AppEngPacket
|
||||
if( baseContainer.getTargetStack() != null )
|
||||
{
|
||||
// Force to stack size 1 to fix a client-side display problem...
|
||||
ItemStack displayIs = baseContainer.getTargetStack().getItemStack().copy();
|
||||
ItemStack displayIs = baseContainer.getTargetStack().getItemStack();
|
||||
displayIs.setCount( 1 );
|
||||
cca.getCraftingItem().putStack( displayIs );
|
||||
// This is the *actual* item that matters, not the display item above
|
||||
|
||||
Reference in New Issue
Block a user