mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-16 18:44:44 +00:00
Merge pull request #123 from kevsgrove/patch-1
Update BlockSolidVines.java
This commit is contained in:
commit
db6ccb9016
1 file changed
+9
@@ -41,6 +41,15 @@ public class BlockSolidVines extends BlockVine implements ILexiconable {
|
||||
@Override
|
||||
public AxisAlignedBB getCollisionBoundingBox(World w, BlockPos pos, IBlockState state) {
|
||||
setBlockBoundsBasedOnState(w, pos);
|
||||
|
||||
if(state.getValue(EAST)) {
|
||||
return new AxisAlignedBB(pos.add(maxX, minY, minZ), pos.add(maxX, maxY, maxZ));
|
||||
}
|
||||
|
||||
if(state.getValue(SOUTH)) {
|
||||
return new AxisAlignedBB(pos.add(minX, minY, maxZ), pos.add(maxX, maxY, maxZ));
|
||||
}
|
||||
|
||||
return new AxisAlignedBB(pos.add(minX, minY, minZ), pos.add(maxX, maxY, maxZ));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user