Protect light from everything.

Thanks Mojang.
This commit is contained in:
wizjany 2021-09-16 14:54:36 -04:00
parent 51fa25dd03
commit 56086b0878

View File

@ -766,7 +766,7 @@ public final class Materials {
MATERIAL_FLAGS.put(Material.CRACKED_DEEPSLATE_TILES, 0);
MATERIAL_FLAGS.put(Material.CHISELED_DEEPSLATE, 0);
MATERIAL_FLAGS.put(Material.GLOW_LICHEN, 0);
MATERIAL_FLAGS.put(Material.LIGHT, 0);
MATERIAL_FLAGS.put(Material.LIGHT, MODIFIED_ON_RIGHT);
MATERIAL_FLAGS.put(Material.LIGHTNING_ROD, 0);
MATERIAL_FLAGS.put(Material.SCULK_SENSOR, 0);
MATERIAL_FLAGS.put(Material.AMETHYST_SHARD, 0);
@ -1651,8 +1651,6 @@ public static boolean isToolApplicable(Material toolMaterial, Material targetMat
return Tag.SIGNS.isTagged(targetMaterial);
case HONEYCOMB:
return isUnwaxedCopper(targetMaterial);
case LIGHT:
return targetMaterial == Material.LIGHT;
default:
return false;
}