From 5e12979f0984114d8dbba1f0b328327f19a0d946 Mon Sep 17 00:00:00 2001 From: GJ Date: Tue, 27 Mar 2012 22:54:56 -0400 Subject: [PATCH] Fix my fix for the BlockBreak event changes (reverted). --- .../gmail/nossr50/events/fake/FakeBlockBreakEvent.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/events/fake/FakeBlockBreakEvent.java b/src/main/java/com/gmail/nossr50/events/fake/FakeBlockBreakEvent.java index a182766fa..48b07914b 100644 --- a/src/main/java/com/gmail/nossr50/events/fake/FakeBlockBreakEvent.java +++ b/src/main/java/com/gmail/nossr50/events/fake/FakeBlockBreakEvent.java @@ -1,15 +1,19 @@ package com.gmail.nossr50.events.fake; -import java.util.ArrayList; +//import java.util.ArrayList; import org.bukkit.block.Block; import org.bukkit.entity.Player; import org.bukkit.event.block.BlockBreakEvent; -import org.bukkit.inventory.ItemStack; +//import org.bukkit.inventory.ItemStack; public class FakeBlockBreakEvent extends BlockBreakEvent { public FakeBlockBreakEvent(Block theBlock, Player player) { - super(theBlock, player, new ArrayList(theBlock.getDrops())); + super(theBlock, player); } + +// public FakeBlockBreakEvent(Block theBlock, Player player) { +// super(theBlock, player, new ArrayList(theBlock.getDrops())); +// } } \ No newline at end of file