NotMyFault 2021-04-12 16:08:31 +02:00
parent e1fb8c1ae5
commit 59599261ff
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C

View File

@ -1115,17 +1115,6 @@ public class PlayerEventListener extends PlotListener implements Listener {
} }
break; break;
} }
case LEFT_CLICK_BLOCK: {
location = BukkitUtil.adapt(block.getLocation());
//eventType = PlayerBlockEventType.BREAK_BLOCK;
blocktype1 = BukkitAdapter.asBlockType(block.getType());
if (block.getType() == Material.DRAGON_EGG) {
eventType = PlayerBlockEventType.TELEPORT_OBJECT;
break;
}
return;
}
default: default:
return; return;
} }