mirror of
https://github.com/GTNewHorizons/Draconic-Evolution.git
synced 2026-11-19 03:49:35 +00:00
Merge pull request #41 from mrhid6/patch-1
Update InvisibleMultiblock.java
This commit is contained in:
commit
64870498e2
1 file changed
+10
+10
@@ -180,6 +180,16 @@ public class InvisibleMultiblock extends BlockDE implements IHudDisplayBlock {
|
||||
}
|
||||
return super.getSelectedBoundingBoxFromPool(world, x, y, z);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int x, int y, int z) {
|
||||
|
||||
int meta = world.getBlockMetadata(x, y, z);
|
||||
if(meta == 2){
|
||||
return AxisAlignedBB.getBoundingBox(x, y, z, x, y, z);
|
||||
}
|
||||
return super.getCollisionBoundingBoxFromPool(world, x, y, z);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack getPickBlock(MovingObjectPosition target, World world, int x, int y, int z, EntityPlayer player) {
|
||||
|
||||
Reference in new issue
Block a user