mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-28 15:36:18 +00:00
Fix #1962 Wood Pile fire spread might be a bit too aggressive
This commit is contained in:
1 parent
d6a5827f0b
commit
eea193aa83
1 file changed
+2
-1
@@ -128,7 +128,8 @@ public class BlockWoodPile extends Block implements IItemModelRegister, IStateMa
|
||||
activatePile(blockState, world, position, true);
|
||||
}
|
||||
} else if(world.isAirBlock(position) || !blockState.isSideSolid(world, position, facing.getOpposite()) || block.isFlammable(world, position, facing.getOpposite())){
|
||||
world.setBlockState(position, Blocks.FIRE.getDefaultState());
|
||||
world.setBlockState(pos, Blocks.FIRE.getDefaultState());
|
||||
return;
|
||||
}
|
||||
}
|
||||
if(rand.nextFloat() < 0.5F){
|
||||
|
||||
Reference in new issue
Block a user