mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-27 15:33:06 +00:00
Fix WAILA on conduits not working, also fix conduit pick block
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user