public void onEntityCombust(EntityCombustEvent event) { if (event.isCancelled()) return; if (event.getEntity() instanceof Player) { String playerName = ((Player) event.getEntity()).getName(); if (AdminHandler.isGod(playerName)) { event.setCancelled(true); plugin .getServer() .getScheduler() .scheduleSyncDelayedTask(plugin, new douse((Player) event.getEntity()), 2); } } }