switch (event.getClickedBlock().getType()) {
case WOODEN_DOOR:
//case IRON_DOOR:
if (BBSettings.doorOpen) {
DoorOpen doorDataBlock = new DoorOpen(event.getPlayer().getName(), block, block.getWorld().getName());
doorDataBlock.send();
}
break;
case LEVER:
if (BBSettings.leverSwitch) {
LeverSwitch leverDataBlock = new LeverSwitch(event.getPlayer().getName(), block, block.getWorld().getName());