EdPrisonBlockBreakEvent
Optimised block break event done by EdPrison. This event will be triggered every 5 seconds and will send the blocks broken in the last 5 seconds.
/**
* Gets the player associated with the event.
*
* @return The player triggering the enchant.
*/
public Player getPlayer() {
// Method implementation
}
@Override
public boolean isCancelled() {
return isCancelled;
}
@Override
public void setCancelled(boolean cancelled) {
this.isCancelled = cancelled;
}
/**
* Gets the amount of blocks broken by the player.
*
* @return The amount of blocks.
*/
public double getBlocks() {
// Method implementation
}
Last updated
Was this helpful?