mirror of
https://github.com/GTNewHorizons/ThaumicTinkerer.git
synced 2026-10-26 14:33:48 +00:00
more space
This commit is contained in:
1 parent
f35d8a755f
commit
0da10ce8d4
1 file changed
+4
-4
@@ -53,7 +53,7 @@ public class GuiHandler implements IGuiHandler {
|
||||
return new ContainerAspectAnalyzer((TileAspectAnalyzer) tile, player.inventory);
|
||||
|
||||
case LibGuiIDs.GUI_ID_ICHOR_POUCH:
|
||||
if (!isDimensionAllowed(player)) return null;
|
||||
if (!isDimensionAllowed(player)) return null;
|
||||
return new ContainerIchorPouch(player);
|
||||
|
||||
case LibGuiIDs.GUI_ID_WARP_GATE:
|
||||
@@ -81,7 +81,7 @@ public class GuiHandler implements IGuiHandler {
|
||||
return new GuiAspectAnalyzer((TileAspectAnalyzer) tile, player.inventory);
|
||||
|
||||
case LibGuiIDs.GUI_ID_ICHOR_POUCH:
|
||||
if (!isDimensionAllowed(player)) return null;
|
||||
if (!isDimensionAllowed(player)) return null;
|
||||
return new GuiIchorPouch(new ContainerIchorPouch(player));
|
||||
|
||||
case LibGuiIDs.GUI_ID_WARP_GATE:
|
||||
@@ -96,9 +96,9 @@ public class GuiHandler implements IGuiHandler {
|
||||
}
|
||||
|
||||
public static boolean isDimensionAllowed (EntityPlayer player) {
|
||||
Integer currentDimID = (player.worldObj.provider.dimensionId);
|
||||
Integer currentDimID = (player.worldObj.provider.dimensionId);
|
||||
for (String id : ConfigHandler.forbiddenDimensions) {
|
||||
if (id.equals(currentDimID.toString())) return false;
|
||||
if (id.equals(currentDimID.toString())) return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user