Skip to content

Commit 3f70cdb

Browse files
committed
Allow all passable blocks to be used above seats
1 parent aaef518 commit 3f70cdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/zmaster587/advancedRocketry/tile/TileRocketAssemblingMachine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ public void scanRocket(World world, BlockPos pos2, AxisAlignedBB bb) {
350350
thrustNuclearReactorLimit += ((IRocketNuclearCore) block).getMaxThrust(world, currBlockPos);
351351
}
352352

353-
if(block instanceof BlockSeat && world.getBlockState(abovePos).getBlock().isAir(world.getBlockState(abovePos), world, abovePos)) {
353+
if(block instanceof BlockSeat && world.getBlockState(abovePos).getBlock().isPassable(world, abovePos)) {
354354
stats.addPassengerSeat((int) (x), yCurr - actualMinY, (int) (z));
355355
}
356356

0 commit comments

Comments
 (0)