mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-13 19:39:04 +07:00
possible oregen fix
This commit is contained in:
parent
ec2f21b944
commit
301c11c208
@ -77,7 +77,7 @@ public class Map implements Comparable<Map>{
|
||||
|
||||
/** Returns the generation filters that this map uses on load.*/
|
||||
public Array<GenerateFilter> filters(){
|
||||
if(build != -1 && build < 83 && tags.get("genfilters", "").isEmpty()){
|
||||
if(tags.getInt("build", -1) < 83 && tags.getInt("build", -1) != -1 && tags.get("genfilters", "").isEmpty()){
|
||||
return Array.with();
|
||||
}
|
||||
return world.maps.readFilters(tags.get("genfilters", ""));
|
||||
|
Loading…
Reference in New Issue
Block a user