From 2893438f8e22da8812310d843dcf299cfda60ee5 Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Sat, 20 Aug 2011 15:17:29 +0200 Subject: [PATCH] /green now fails a bit less. --- src/main/java/com/sk89q/worldedit/EditSession.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/sk89q/worldedit/EditSession.java b/src/main/java/com/sk89q/worldedit/EditSession.java index c236cd29d..9c4e6c4a0 100644 --- a/src/main/java/com/sk89q/worldedit/EditSession.java +++ b/src/main/java/com/sk89q/worldedit/EditSession.java @@ -2075,15 +2075,15 @@ public class EditSession { Vector pt = new Vector(x, y, z); int id = getBlockType(pt); - if (id == 0) + if (id == 0 || id == BlockID.SNOW) continue; if (id == BlockID.DIRT) { if (setBlock(pt, grass)) { ++affected; } - break; } + break; } } }