Fixed Harvest sigil in armour giving bad items
Finished optimization of compression handler.
This commit is contained in:
parent
e21f6941ba
commit
d7d8aedd42
8 changed files with 259 additions and 117 deletions
|
@ -171,6 +171,10 @@ public class ItemPackRatSigil extends EnergyItems implements IHolding, ArmourUpg
|
|||
@Override
|
||||
public void onArmourUpdate(World world, EntityPlayer player, ItemStack thisItemStack)
|
||||
{
|
||||
if(world.isRemote)
|
||||
{
|
||||
return;
|
||||
}
|
||||
ItemStack stack = CompressionRegistry.compressInventory(player.inventory.mainInventory, world);
|
||||
if(stack != null)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue