Skip to content

Commit

Permalink
Water is also transparent
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioG1 authored and ProgrammerDan committed Apr 22, 2016
1 parent 7875e2f commit 58cd319
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 58cd319

Please sign in to comment.