mirror of
https://github.com/GTNewHorizons/WirelessCraftingTerminal.git
synced 2026-11-20 20:12:29 +00:00
Fix derps
This commit is contained in:
1 parent
1a22788e4f
commit
a10debce27
2 files changed
+8
-3
No files matched your search
@@ -36,6 +36,10 @@ public class GuiCraftAmount extends appeng.client.gui.implementations.GuiCraftAm
|
||||
@Override
|
||||
public void initGui() {
|
||||
super.initGui();
|
||||
// Remove the autogenerated button which takes you to the AE2 wireless terminal GUI
|
||||
if (this.buttonList.get(this.buttonList.size() - 1) instanceof GuiTabButton) {
|
||||
this.buttonList.remove(this.buttonList.size() - 1);
|
||||
}
|
||||
|
||||
final Object target = ((ContainerCraftAmount) this.inventorySlots).getTarget();
|
||||
final IDefinitions definitions = AEApi.instance().definitions();
|
||||
|
||||
+4
-3
@@ -71,8 +71,8 @@ public class GuiWirelessCraftingTerminal extends AEBaseGui implements ISortSourc
|
||||
AE_NUM_ROWS = 0,
|
||||
GUI_UPPER_HEIGHT = 35,
|
||||
GUI_SEARCH_ROW = 35,
|
||||
SEARCH_X = 81,
|
||||
SEARCH_Y = 5,
|
||||
SEARCH_X = 80,
|
||||
SEARCH_Y = 4,
|
||||
SEARCH_WIDTH = 88,
|
||||
SEARCH_HEIGHT = 12,
|
||||
SEARCH_MAXCHARS = 15,
|
||||
@@ -262,8 +262,8 @@ public class GuiWirelessCraftingTerminal extends AEBaseGui implements ISortSourc
|
||||
final PacketInventoryAction p =
|
||||
new PacketInventoryAction(action, this.inventorySlots.inventorySlots.size(), 0);
|
||||
NetworkHandler.instance.sendToServer(p);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
super.handleMouseClick(slot, slotIdx, ctrlDown, mouseButton);
|
||||
}
|
||||
@@ -765,6 +765,7 @@ public class GuiWirelessCraftingTerminal extends AEBaseGui implements ISortSourc
|
||||
}
|
||||
|
||||
this.repo.updateView();
|
||||
this.setScrollBar();
|
||||
}
|
||||
|
||||
public boolean isCustomSortOrder() {
|
||||
|
||||
Reference in new issue
Block a user