mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-12 18:44:43 +02:00
Assorted event updates. Created new McMMOPlayerRepairEvent for when a
repair is completed.
This commit is contained in:
@ -0,0 +1,15 @@
|
||||
package com.gmail.nossr50.events.fake;
|
||||
|
||||
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;
|
||||
|
||||
public class FakeBlockBreakEvent extends BlockBreakEvent {
|
||||
|
||||
public FakeBlockBreakEvent(Block theBlock, Player player) {
|
||||
super(theBlock, player, new ArrayList<ItemStack>(theBlock.getDrops()));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user