Changed water to be considered a pass-through block.

This commit is contained in:
sk89q 2011-01-09 10:26:11 -08:00
parent cdea296396
commit 0bbc4da594

View File

@ -322,6 +322,8 @@ public static boolean shouldPlaceLast(int id) {
*/ */
public static boolean canPassThrough(int id) { public static boolean canPassThrough(int id) {
return id == 0 // Air return id == 0 // Air
|| id == 8 // Water
|| id == 9 // Water
|| id == 6 // Saplings || id == 6 // Saplings
|| id == 37 // Yellow flower || id == 37 // Yellow flower
|| id == 38 // Red flower || id == 38 // Red flower