Permalink
Browse files

some translucent blocks were missing

  • Loading branch information...
Brokkonaut committed Mar 25, 2018
1 parent 52263ac commit 165fdac64226090fe9449c2f97ff85b8181160bf
Showing with 9 additions and 0 deletions.
  1. +9 −0 worldedit-core/src/main/java/com/sk89q/worldedit/blocks/BlockType.java
@@ -1273,6 +1273,7 @@ public static boolean emitsLight(int id) {
isTranslucent.add(BlockID.RED_FLOWER);
isTranslucent.add(BlockID.BROWN_MUSHROOM);
isTranslucent.add(BlockID.RED_MUSHROOM);
isTranslucent.add(BlockID.STEP);
isTranslucent.add(BlockID.TORCH);
isTranslucent.add(BlockID.FIRE);
isTranslucent.add(BlockID.MOB_SPAWNER);
@@ -1343,6 +1344,8 @@ public static boolean emitsLight(int id) {
isTranslucent.add(BlockID.HOPPER);
isTranslucent.add(BlockID.QUARTZ_STAIRS);
isTranslucent.add(BlockID.ACTIVATOR_RAIL);
isTranslucent.add(BlockID.ACACIA_STAIRS);
isTranslucent.add(BlockID.DARK_OAK_STAIRS);
isTranslucent.add(BlockID.BARRIER);
isTranslucent.add(BlockID.IRON_TRAP_DOOR);
isTranslucent.add(BlockID.CARPET);
@@ -1369,6 +1372,12 @@ public static boolean emitsLight(int id) {
isTranslucent.add(BlockID.JUNGLE_DOOR);
isTranslucent.add(BlockID.ACACIA_DOOR);
isTranslucent.add(BlockID.DARK_OAK_DOOR);
isTranslucent.add(BlockID.END_ROD);
isTranslucent.add(BlockID.CHORUS_PLANT);
isTranslucent.add(BlockID.CHORUS_FLOWER);
isTranslucent.add(BlockID.PURPUR_STAIRS);
isTranslucent.add(BlockID.PURPUR_SLAB);
isTranslucent.add(BlockID.BEETROOTS);
}
/**

0 comments on commit 165fdac

Please sign in to comment.