mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-18 19:29:17 +00:00
Compiles for 1.9! Very buggy, some things are missing.
This commit is contained in:
1 parent
5d74c1254b
commit
7bf554b024
135 files changed
+1710
-1919
No files matched your search
@@ -177,7 +177,7 @@ public class AlvearyController extends RectangularMultiblockControllerBase imple
|
||||
BlockPos pos = new BlockPos(slabX, slabY, slabZ);
|
||||
IBlockState state = worldObj.getBlockState(pos);
|
||||
Block block = state.getBlock();
|
||||
if (!BlockUtil.isWoodSlabBlock(block, worldObj, pos)) {
|
||||
if (!BlockUtil.isWoodSlabBlock(state, block, worldObj, pos)) {
|
||||
throw new MultiblockValidationException(Translator.translateToLocal("for.multiblock.alveary.error.needSlabs"));
|
||||
}
|
||||
|
||||
@@ -196,8 +196,9 @@ public class AlvearyController extends RectangularMultiblockControllerBase imple
|
||||
if (isCoordInMultiblock(airX, airY, airZ)) {
|
||||
continue;
|
||||
}
|
||||
Block block = BlockUtil.getBlock(worldObj, new BlockPos(airX, airY, airZ));
|
||||
if (block.isOpaqueCube()) {
|
||||
IBlockState blockState = worldObj.getBlockState(new BlockPos(airX, airY, airZ));
|
||||
Block block = blockState.getBlock();
|
||||
if (block.isOpaqueCube(blockState)) {
|
||||
throw new MultiblockValidationException(Translator.translateToLocal("for.multiblock.alveary.error.needSpace"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user