Remove unneeded method in INetworkTile
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
package refinedstorage.tile;
|
||||
|
||||
import io.netty.buffer.ByteBuf;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
|
||||
public interface INetworkTile {
|
||||
void fromBytes(ByteBuf buf);
|
||||
|
||||
void toBytes(ByteBuf buf);
|
||||
|
||||
BlockPos getTilePos();
|
||||
}
|
||||
|
||||
@@ -385,11 +385,6 @@ public class TileController extends TileBase implements IEnergyReceiver, INetwor
|
||||
this.redstoneMode = mode;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BlockPos getTilePos() {
|
||||
return pos;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BlockPos getMachinePos() {
|
||||
return pos;
|
||||
|
||||
@@ -78,11 +78,6 @@ public abstract class TileMachine extends TileBase implements INetworkTile, IRed
|
||||
return pos;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BlockPos getTilePos() {
|
||||
return pos;
|
||||
}
|
||||
|
||||
public TileController getController() {
|
||||
return (TileController) worldObj.getTileEntity(controllerPosition);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user