availableFilters.add(new BlacklistFilter("BleedingMobs") {
@Override
@SuppressWarnings("deprecation")
public boolean isFiltered(Entity element) {
if (element instanceof Item) {
BleedingMobs bm = (BleedingMobs) this.getPlugin();
if (bm.isSpawning() || (bm.isWorldEnabled(element.getWorld()) && bm.isParticleItem(element.getUniqueId()))) {
return true;
}
}
return false;
}