Fix ignitedByLava making blocks permanently flammable (#9735) Fixes #9730

This commit is contained in:
Jonathan Colmenares authored and GitHub committed 2023-09-27 23:11:48 -07:00
1 parent 05c88ae33a
commit d25ba7adc8
2 files changed
+2 -2

No files matched your search

@@ -628,7 +628,7 @@ public interface IForgeBlock
*/
default boolean isFlammable(BlockState state, BlockGetter level, BlockPos pos, Direction direction)
{
return state.ignitedByLava() || state.getFlammability(level, pos, direction) > 0;
return state.getFlammability(level, pos, direction) > 0;
}
/**