Fix WAILA on conduits not working, also fix conduit pick block

This commit is contained in:
tterrag1098 committed 2015-10-06 00:20:34 -04:00
1 parent 210fb1ebf2
commit 55ec1fa34c
2 files changed
+9 -6

No files matched your search

@@ -258,6 +258,11 @@ public class BlockConduitBundle extends BlockEio implements IGuiHandler, IFacade
EnderIO.guiHandler.registerGuiHandler(GuiHandler.GUI_ID_EXTERNAL_CONNECTION_SELECTOR, this);
}
@Override
public ItemStack getPickBlock(MovingObjectPosition target, World world, int x, int y, int z) {
return getPickBlock(target, world, x, y, z, null);
}
@Override
public ItemStack getPickBlock(MovingObjectPosition target, World world, int x, int y, int z, EntityPlayer player) {
ItemStack ret = null;
@@ -689,7 +694,7 @@ public class BlockConduitBundle extends BlockEio implements IGuiHandler, IFacade
return false;
}
private boolean handleFacadeClick(World world, int x, int y, int z, EntityPlayer player, int side, IConduitBundle bundle, ItemStack stack) {
public boolean handleFacadeClick(World world, int x, int y, int z, EntityPlayer player, int side, IConduitBundle bundle, ItemStack stack) {
// Add facade
if(player.isSneaking()) {
return false;