Fix Material#isFlammable not being accounted for in flammability (#10573)

This commit is contained in:
Jonathing authored and GitHub committed 2025-07-16 09:47:29 -07:00
1 parent e5ad486994
commit e70dc0a4b7
1 file changed
+1 -1
@@ -550,7 +550,7 @@ public interface IForgeBlock
*/
default boolean isFlammable(BlockState state, BlockGetter level, BlockPos pos, Direction direction)
{
return state.getFlammability(level, pos, direction) > 0;
return state.getMaterial().isFlammable() && state.getFlammability(level, pos, direction) > 0;
}
/**