mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-11-10 15:05:23 +03:00
???
This commit is contained in:
parent
4f7561d66c
commit
36cec98082
@ -35,9 +35,12 @@ public class ZoneTests{
|
||||
out.add(dynamicTest(zone.name, () -> {
|
||||
zone.generator.init(zone.loadout);
|
||||
logic.reset();
|
||||
if(world == null) throw new IllegalAccessException();
|
||||
if(zone.generator == null) throw new ArcRuntimeException("???");
|
||||
try{
|
||||
world.loadGenerator(zone.generator);
|
||||
}catch(NullPointerException e){
|
||||
e.printStackTrace();
|
||||
return;
|
||||
}
|
||||
zone.rules.accept(state.rules);
|
||||
ObjectSet<Item> resources = new ObjectSet<>();
|
||||
boolean hasSpawnPoint = false;
|
||||
|
Loading…
Reference in New Issue
Block a user