226227228229230231232233234235236
} } @EventHandler public void onDeath(EntityDeathEvent event) { EnderDragon get = event.getEntity().get(EnderDragon.class); if (get != null) { if (VanillaConfiguration.END_CREDITS.getBoolean()) { // TODO: do awesome end credit stuff } }