mirror of https://github.com/Minestom/Minestom.git
17 lines
358 B
Java
17 lines
358 B
Java
package fr.themode.minestom.event;
|
|
|
|
import fr.themode.minestom.instance.CustomBlock;
|
|
|
|
public class StartDiggingEvent extends CancellableEvent {
|
|
|
|
private CustomBlock customBlock;
|
|
|
|
public StartDiggingEvent(CustomBlock customBlock) {
|
|
this.customBlock = customBlock;
|
|
}
|
|
|
|
public CustomBlock getBlock() {
|
|
return customBlock;
|
|
}
|
|
}
|