mirror of
https://github.com/GTNewHorizons/WirelessCraftingTerminal.git
synced 2026-11-18 03:15:15 +00:00
fix #44 & 1
This commit is contained in:
1 parent
3cc6dc7bd0
commit
199446db87
6 files changed
+4
-3
No files matched your search
+1
-1
@@ -195,7 +195,7 @@ 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 = ((IGridHost) this.obj).getGridNode(ForgeDirection.UNKNOWN);
|
||||
final IGridNode node = ((IGridNode) ((IGrid) this.obj.getTargetGrid()).getPivot()).getMachine().getGridNode(ForgeDirection.UNKNOWN);
|
||||
this.networkNode = node;
|
||||
|
||||
this.prepareSync();
|
||||
|
||||
@@ -81,7 +81,7 @@ public class ClientProxy extends CommonProxy {
|
||||
|
||||
private String fetchVersion() {
|
||||
try {
|
||||
InputStream in = new URL(new String("https://raw.githubusercontent.com/p455w0rd/WirelessCraftingTerminal/master/latestversion.txt")).openStream();
|
||||
InputStream in = new URL(new String("https://raw.githubusercontent.com/p455w0rd/WirelessCraftingTerminal/master/latestversionrv3.txt")).openStream();
|
||||
BufferedReader r = new BufferedReader(new InputStreamReader(in));
|
||||
return r.readLine();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user