Fix my fix for the BlockBreak event changes (reverted).

This commit is contained in:
GJ 2012-03-27 22:54:56 -04:00
parent cd64b60ece
commit 5e12979f09

View File

@ -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<ItemStack>(theBlock.getDrops()));
super(theBlock, player);
}
// public FakeBlockBreakEvent(Block theBlock, Player player) {
// super(theBlock, player, new ArrayList<ItemStack>(theBlock.getDrops()));
// }
}