summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-08-08 08:51:04 +1000
committermd_5 <git@md-5.net>2018-08-08 08:51:04 +1000
commit935f75dea0c1f4721dd7666295f5036ed1ddbca2 (patch)
tree0f0ffee27d4e89cdcdda89f58d75146280decc84 /src
parentdd18c0fcfbbb0d7ea34d9bd0bf0366041f49bd0b (diff)
downloadbukkit-935f75dea0c1f4721dd7666295f5036ed1ddbca2.tar
bukkit-935f75dea0c1f4721dd7666295f5036ed1ddbca2.tar.gz
bukkit-935f75dea0c1f4721dd7666295f5036ed1ddbca2.tar.lz
bukkit-935f75dea0c1f4721dd7666295f5036ed1ddbca2.tar.xz
bukkit-935f75dea0c1f4721dd7666295f5036ed1ddbca2.zip
SPIGOT-4242: Treat cave / void air as transparent
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/bukkit/Material.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/Material.java b/src/main/java/org/bukkit/Material.java
index 359187da..ddfd8159 100644
--- a/src/main/java/org/bukkit/Material.java
+++ b/src/main/java/org/bukkit/Material.java
@@ -3526,6 +3526,7 @@ public enum Material implements Keyed {
case BROWN_CARPET:
case BROWN_MUSHROOM:
case CARROTS:
+ case CAVE_AIR:
case CHORUS_FLOWER:
case CHORUS_PLANT:
case COCOA:
@@ -3622,6 +3623,7 @@ public enum Material implements Keyed {
case TRIPWIRE:
case TRIPWIRE_HOOK:
case VINE:
+ case VOID_AIR:
case WALL_TORCH:
case WHEAT:
case WHITE_CARPET: