Jump to content

Quick Question.


Recommended Posts

Posted (edited)

So i have:
 

final Area NOGOZONE = new Area(new Position[]{
           new Position(3241, 3250, 0),
           new Position(3251, 3243, 0)
    });


public boolean isLoot(){
         item = groundItems.closest(new Filter<GroundItem>() {
            @Override
            public boolean match(GroundItem groundItem) {
                return groundItem != null && COMBATZONE.contains(groundItem) && !NOGOZONE.contains(groundItem);
            }
        });
        return item != null;
    }



and for same damn reason. Its only detecting items in the NoGoZone.

 

Edited by Isolate
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...