From 750d6dd1d0ffed5dcc241f8f0c246defeba889ae Mon Sep 17 00:00:00 2001 From: masteroftime Date: Thu, 11 Aug 2011 19:27:00 +0200 Subject: [PATCH] Destroying tall grass with superpickaxe now randomly drops seed --- src/main/java/com/sk89q/worldedit/LocalWorld.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/sk89q/worldedit/LocalWorld.java b/src/main/java/com/sk89q/worldedit/LocalWorld.java index 29b1bad29..59b03dc4a 100644 --- a/src/main/java/com/sk89q/worldedit/LocalWorld.java +++ b/src/main/java/com/sk89q/worldedit/LocalWorld.java @@ -265,6 +265,7 @@ public abstract class LocalWorld { else if (type == 20) { } // Glass else if (type == 21) { dropItem(pt, new BaseItemStack(351, 1, (short)4), (random.nextInt(5)+4)); } // Lapis Lazuli ore else if (type == 26) { dropItem(pt, new BaseItemStack(355)); } // Bed + else if (type == 31) { if(random.nextInt(8) == 0) dropItem(pt, new BaseItemStack(295)); } // Tall Grass else if (type == 34) { } // Piston Head else if (type == 35) { dropItem(pt, new BaseItemStack(35, 1, (short)getBlockData(pt))); } // Cloth else if (type == 43) { // Double step