- Joined
- Apr 18, 2015
- Messages
- 408
- Thread Author
- #1
The script is working perfectly but this prints to the stdout everytime the following is called; do I need to worry and how to fix it?
JavaScript:
//private GameObject rock; at the beginnnig of the class//
rock = GameObjects.getLoaded(new Filter<GameObject>() {
@Override
public boolean accepts(GameObject g) {
return g != null && g.getDefinition() != null && g.getDefinition().getName().toLowerCase().contains("mineral deposit");
}
}).nearest();