Permalink
Browse files

Merge pull request #410 from Brokkonaut/add-missing-translucent-blocks

some translucent blocks were missing
  • Loading branch information...
me4502 committed Mar 27, 2018
2 parents 52263ac + 165fdac commit 17f9b2c72b05079de87ba751b91838fbfbc2dd5b
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 17f9b2c

Please sign in to comment.