}
@Override
public boolean update(Event event, ObjectiveProgress progress) {
if (event instanceof EntityDeathEvent) {
EntityDeathEvent ev = (EntityDeathEvent) event;
if (!(ev.getEntity() instanceof Player))
return false;
Player player = (Player) ev.getEntity();
String search = progress.getObjective().getString().toLowerCase();
boolean found = false, reversed = !search.isEmpty() && search.charAt(0) == '-';
if (search.contains("*") || search.contains(player.getName().toLowerCase())) {
found = true;
} else if (PermissionManager.hasBackend() && search.contains("g:")) {