mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
quick fix : Condition is covered by further condition
This commit is contained in:
1 parent
4ad67bc34b
commit
f446ea280f
17 files changed
+16
-25
No files matched your search
@@ -38,7 +38,7 @@ public class ToolProxyCommon implements IGuiHandler {
|
||||
@Override
|
||||
public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
|
||||
TileEntity tile = world.getTileEntity(x, y, z);
|
||||
if (tile != null && tile instanceof InventoryLogic) {
|
||||
if (tile instanceof InventoryLogic) {
|
||||
return ((InventoryLogic) tile).getGuiContainer(player.inventory, world, x, y, z);
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in new issue
Block a user