Fixed Bug: #0431 - Weird Inventory behaviour in SkyChests with InvTweaks

This commit is contained in:
AlgorithmX2
2014-06-06 21:04:59 -05:00
parent 41f30edb5b
commit a50505fed6
4 changed files with 33 additions and 20 deletions
@@ -3,6 +3,7 @@ package appeng.client.gui.implementations;
import net.minecraft.entity.player.InventoryPlayer;
import appeng.client.gui.AEBaseGui;
import appeng.container.implementations.ContainerSkyChest;
import appeng.core.AppEng;
import appeng.core.localization.GuiText;
import appeng.tile.storage.TileSkyChest;
@@ -28,4 +29,10 @@ public class GuiSkyChest extends AEBaseGui
fontRendererObj.drawString( GuiText.inventory.getLocal(), 8, ySize - 96 + 2, 4210752 );
}
@Override
protected boolean enableSpaceClicking()
{
return !AppEng.instance.isIntegrationEnabled( "InvTweaks" );
}
}