summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/BlockVine.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/minecraft/server/BlockVine.java')
-rw-r--r--src/main/java/net/minecraft/server/BlockVine.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/BlockVine.java b/src/main/java/net/minecraft/server/BlockVine.java
index 2180dc17..93d8876b 100644
--- a/src/main/java/net/minecraft/server/BlockVine.java
+++ b/src/main/java/net/minecraft/server/BlockVine.java
@@ -300,9 +300,8 @@ public class BlockVine extends Block {
// CraftBukkit start - Calculate drops
public ArrayList<ItemStack> calculateDrops(World world, EntityHuman entityhuman, int i, int j, int k, int l) {
if (!world.isStatic && entityhuman.U() != null && entityhuman.U().id == Item.SHEARS.id) {
- super.dropList = new ArrayList<ItemStack>();
this.a(world, i, j, k, new ItemStack(Block.VINE, 1, 0));
- return super.dropList;
+ return this.dropList;
} else {
return super.calculateDrops(world, entityhuman, i, j, k, l);
}