From 5be57a20d6e215fbc86d92af3827599b083d39d3 Mon Sep 17 00:00:00 2001 From: "Aidan C. Brady" Date: Sun, 16 Nov 2014 01:06:00 -0500 Subject: [PATCH] Attempt a fix at an API bug --- .../common/multipart/PartLogisticalTransporter.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/java/mekanism/common/multipart/PartLogisticalTransporter.java b/src/main/java/mekanism/common/multipart/PartLogisticalTransporter.java index 305dc8529..f79141024 100644 --- a/src/main/java/mekanism/common/multipart/PartLogisticalTransporter.java +++ b/src/main/java/mekanism/common/multipart/PartLogisticalTransporter.java @@ -797,45 +797,54 @@ public class PartLogisticalTransporter extends PartSidedPipe implements ILogisti return pipe; } + @Interface(iface = "buildcraft.api.transport.IPipe", modid = "BuildCraftAPI|transport") public class TransporterPipeProxy implements IPipe { @Override + @Method(modid = "BuildCraftAPI|transport") public int x() { return PartLogisticalTransporter.this.x(); } @Override + @Method(modid = "BuildCraftAPI|transport") public int y() { return PartLogisticalTransporter.this.y(); } @Override + @Method(modid = "BuildCraftAPI|transport") public int z() { return PartLogisticalTransporter.this.y(); } @Override + @Method(modid = "BuildCraftAPI|transport") public IPipeTile getTile() { return (IPipeTile)tile(); } @Override + @Method(modid = "BuildCraftAPI|transport") public IGate getGate(ForgeDirection side) { return null; } @Override + @Method(modid = "BuildCraftAPI|transport") public boolean hasGate(ForgeDirection side) { return false; } @Override + @Method(modid = "BuildCraftAPI|transport") public boolean isWired(PipeWire wire) { return false; } @Override + @Method(modid = "BuildCraftAPI|transport") public boolean isWireActive(PipeWire wire) { return false; }