Merge branch 'MC18' of github.com:williewillus/Botania into MC18

This commit is contained in:
Vincent Lee committed 2016-02-20 13:34:46 -06:00
commit b6427bcae9
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));
}