zenlai 0 Share Posted January 10, 2021 so i was use to the old dreambot api but now alot has changed. I was just wondering, how would i go about writing filters now? For example GroundItems.closest(c -> c != null && area.contains(c)) is how i use to write it. Anyone know the new way of writing it? Link to comment Share on other sites More sharing options...
Pandemic 2789 Share Posted January 10, 2021 That should still work the same Make sure your language level is high enough for lambdas (8). Link to comment Share on other sites More sharing options...
zenlai 0 Author Share Posted January 15, 2021 ah thanks, my ide wasnt using jre 1.8. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.