mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-01-18 21:51:21 +01:00
Fix my fix for the BlockBreak event changes (reverted).
This commit is contained in:
parent
cd64b60ece
commit
5e12979f09
@ -1,15 +1,19 @@
|
|||||||
package com.gmail.nossr50.events.fake;
|
package com.gmail.nossr50.events.fake;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
//import java.util.ArrayList;
|
||||||
|
|
||||||
import org.bukkit.block.Block;
|
import org.bukkit.block.Block;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.block.BlockBreakEvent;
|
import org.bukkit.event.block.BlockBreakEvent;
|
||||||
import org.bukkit.inventory.ItemStack;
|
//import org.bukkit.inventory.ItemStack;
|
||||||
|
|
||||||
public class FakeBlockBreakEvent extends BlockBreakEvent {
|
public class FakeBlockBreakEvent extends BlockBreakEvent {
|
||||||
|
|
||||||
public FakeBlockBreakEvent(Block theBlock, Player player) {
|
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()));
|
||||||
|
// }
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user