mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-25 14:01:03 -08:00
???
This commit is contained in:
parent
4f7561d66c
commit
36cec98082
1 changed files with 6 additions and 3 deletions
|
|
@ -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("???");
|
||||
world.loadGenerator(zone.generator);
|
||||
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…
Add table
Add a link
Reference in a new issue