Fixed drones not finding blocked ores

This commit is contained in:
Anuken
2019-09-01 13:21:20 -04:00
parent 2fe5b44698
commit 40d27c787c
5 changed files with 9 additions and 10 deletions

View File

@@ -80,7 +80,7 @@ public class MapsDialog extends FloatingDialog{
String name = map.tags.getOr("name", () -> {
String result = "unknown";
int number = 0;
while(maps.byName(result + number++) != null) ;
while(maps.byName(result + number++) != null);
return result + number;
});