com.github.sanctum.labyrinth.event.RegionBuildEvent Maven / Gradle / Ivy
package com.github.sanctum.labyrinth.event;
import com.github.sanctum.labyrinth.data.Region;
import org.bukkit.block.Block;
public class RegionBuildEvent extends RegionInteractEvent {
private final Block block;
public RegionBuildEvent(org.bukkit.entity.Player player, Region region, Block block) {
super(Type.BUILD, player, region);
this.block = block;
}
public Block getBlock() {
return block;
}
}