mirror of
https://github.com/GTNewHorizons/WirelessCraftingTerminal.git
synced 2026-11-20 12:10:02 +00:00
1 parent
f5ae98daef
commit
c79d6661c3
5 files changed
+8
-6
No files matched your search
+2
-2
@@ -93,8 +93,8 @@ public class GuiWirelessCraftingTerminal extends GuiContainer implements ISortSo
|
||||
private float xSize_lo;
|
||||
private float ySize_lo;
|
||||
public static int tick = 0, GUI_HEIGHT = 240, GUI_WIDTH = 198, AE_ROW_HEIGHT = 18, AE_NUM_ROWS = 0,
|
||||
GUI_UPPER_HEIGHT = 35, GUI_SEARCH_ROW = 35, SEARCH_X = 81, SEARCH_Y = 6, SEARCH_WIDTH = 88,
|
||||
SEARCH_HEIGHT = 10, SEARCH_MAXCHARS = 15, GUI_LOWER_HEIGHT, AE_TOTAL_ROWS_HEIGHT,
|
||||
GUI_UPPER_HEIGHT = 35, GUI_SEARCH_ROW = 35, SEARCH_X = 81, SEARCH_Y = 5, SEARCH_WIDTH = 88,
|
||||
SEARCH_HEIGHT = 12, SEARCH_MAXCHARS = 15, GUI_LOWER_HEIGHT, AE_TOTAL_ROWS_HEIGHT,
|
||||
BUTTON_SEARCH_MODE_POS_X = -18, BUTTON_SEARCH_MODE_POS_Y = 68, BUTTON_SIZE = 16, NEI_EXTRA_SPACE = 30,
|
||||
slotYOffset;
|
||||
protected static final int BUTTON_SEARCH_MODE_ID = 5;
|
||||
|
||||
+2
-1
@@ -195,7 +195,8 @@ public class ContainerWirelessCraftingTerminal extends Container implements ICon
|
||||
|
||||
this.obj = getGuiObject(containerstack, player, worldObj, (int) player.posX, (int) player.posY, (int) player.posZ);
|
||||
this.civ = (IPortableCell) this.obj;
|
||||
final IGridNode node = ((IGridNode) ((IGrid) this.obj.getTargetGrid()).getPivot()).getMachine().getGridNode(ForgeDirection.UNKNOWN);
|
||||
//final IGridNode node = ((IGridNode) ((IGrid) this.obj.getTargetGrid()).getPivot()).getMachine().getGridNode(ForgeDirection.UNKNOWN);
|
||||
final IGridNode node = this.obj.getActionableNode();
|
||||
this.networkNode = node;
|
||||
|
||||
this.prepareSync();
|
||||
|
||||
+2
-1
@@ -243,7 +243,8 @@ public class WirelessTerminalGuiObject implements IActionHost, IPortableCell, II
|
||||
public IGridNode getActionableNode(boolean ignoreRange) {
|
||||
this.rangeCheck(ignoreRange);
|
||||
if (this.myWap != null) {
|
||||
return this.myWap.getActionableNode();
|
||||
return this.getTargetGrid().getPivot();
|
||||
//return this.myWap.getActionableNode();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user