From 58cd3198ff7b8c924a96b0315cd0e6dcd05715ef Mon Sep 17 00:00:00 2001 From: MarioG1 Date: Thu, 23 Apr 2015 18:59:35 +0200 Subject: [PATCH] Water is also transparent --- src/main/java/com/lishid/orebfuscator/OrebfuscatorConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/lishid/orebfuscator/OrebfuscatorConfig.java b/src/main/java/com/lishid/orebfuscator/OrebfuscatorConfig.java index 41e6534e..045447dd 100644 --- a/src/main/java/com/lishid/orebfuscator/OrebfuscatorConfig.java +++ b/src/main/java/com/lishid/orebfuscator/OrebfuscatorConfig.java @@ -121,7 +121,7 @@ private static void generateTransparentBlocks() { if (i == org.bukkit.Material.TNT.getId()) { TransparentBlocks[i] = false; } - if (i == org.bukkit.Material.AIR.getId()) { + if (i == org.bukkit.Material.AIR.getId() || i == org.bukkit.Material.WATER.getId() || i == org.bukkit.Material.STATIONARY_WATER.getId()) { TransparentBlocks[i] = true; } }