Filtered out large getEntities call

Discussion in 'Spigot Plugin Help' started by BlackBeltPanda, May 2, 2015.

  1. My console is being spammed with "Filtered out large getEntities call -72,-52 -71,-52".

    It seems to be caused by my plugin, which calls getEntities() like so:

    Code (Text):
    public void removeMobs(){  
            Bukkit.getWorld("skyblock").getEntities().stream()
                .filter(e -> e.getCustomName() == null)
                .filter(e -> limits.containsKey(getCapKey(e)))
                .forEach(e -> {
                    if (e instanceof Ageable) if(!((Ageable)e).isAdult()) ((Ageable)e).setAdult();
                    compareMobs(e);});
        }
    This just started happening after I updated to 1.8.3. Any idea why this is happening and how I can stop it?

    Edit: I also call "getNearbyEntities(160.0,160.0,160.0)".
     
    #1 BlackBeltPanda, May 2, 2015
    Last edited: May 2, 2015
  2. Bump. Is there a limit to the range now? If so, anyone know what it is?
     
  3. What plugins do you have?