Fixing Waila showing incorrect blocks for logs (#54)

This commit is contained in:
Ryan Nasers authored and GitHub committed 2024-11-12 22:04:26 +01:00
1 parent f0f14bb278
commit a3aa358627
1 file changed
+5
@@ -176,4 +176,9 @@ public class BlockETLog extends BlockLog implements IBlockMetadata {
public ItemStack getPickBlock(MovingObjectPosition target, World world, int x, int y, int z, EntityPlayer player) {
return BlockMetadata.getPickBlock(world, x, y, z);
}
@Override
public ItemStack getPickBlock(MovingObjectPosition target, World world, int x, int y, int z) {
return this.getPickBlock(target, world, x, y, z, null);
}
}