mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-25 20:16:03 +01:00
Protect light from everything.
Thanks Mojang.
This commit is contained in:
parent
51fa25dd03
commit
56086b0878
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user