This commit is contained in:
Alexdoru authored and Jason Mitchell committed 2023-01-28 18:02:41 -08:00
1 parent abda4a244b
commit 983ca22d97
65 files changed
+188 -305

No files matched your search

@@ -79,11 +79,7 @@ public class BattlesignGui extends GuiScreen {
chatFormatting
+ (i == currentLine ? "> " : "")
+ text[i]
+ (i == currentLine
? " " + EnumChatFormatting.RESET
+ chatFormatting
+ "<"
: ""),
+ (i == currentLine ? " " + EnumChatFormatting.RESET + chatFormatting + "<" : ""),
k
- fontRendererObj.getStringWidth(
(i == currentLine ? "> " : "") + text[i] + (i == currentLine ? " <" : ""))
@@ -17,7 +17,6 @@ import tconstruct.library.TConstructRegistry;
import tconstruct.library.crafting.PatternBuilder;
import tconstruct.library.tools.ToolMaterial;
import tconstruct.library.util.HarvestLevels;
import tconstruct.smeltery.inventory.ActiveContainer;
import tconstruct.tools.inventory.PartCrafterChestContainer;
import tconstruct.tools.logic.PartBuilderLogic;
@@ -183,6 +183,9 @@ public class StencilTableGui extends GuiContainer implements INEIGuiHandler {
}
// is it in the horizontal column of the left buttons?
return x + w > this.buttonsLeftRect[0] && x < this.guiLeft && y + h > this.guiTop && y < this.buttonsLeftRect[1];
return x + w > this.buttonsLeftRect[0]
&& x < this.guiLeft
&& y + h > this.guiTop
&& y < this.buttonsLeftRect[1];
}
}
@@ -21,7 +21,6 @@ import org.lwjgl.opengl.GL11;
import tconstruct.TConstruct;
import tconstruct.library.client.TConstructClientRegistry;
import tconstruct.library.client.ToolGuiElement;
import tconstruct.smeltery.inventory.ActiveContainer;
import tconstruct.tools.inventory.ToolStationContainer;
import tconstruct.tools.logic.ToolStationLogic;
import tconstruct.util.network.ToolStationPacket;