Fix profiler

This commit is contained in:
dfsek
2020-12-08 21:26:42 -07:00
parent 1457a10b0b
commit df3d3c6398
12 changed files with 26 additions and 41 deletions

View File

@@ -18,11 +18,13 @@ public class TerraWorld {
private final BiomeZone zone;
private final ConfigPack config;
private boolean safe;
private final TerraProfiler profiler;
public TerraWorld(World w, ConfigPack c) {
safe = true;
config = c;
profiler = new TerraProfiler(w);
ConfigPackTemplate template = config.getTemplate();
@@ -71,4 +73,8 @@ public class TerraWorld {
public boolean isSafe() {
return safe;
}
public TerraProfiler getProfiler() {
return profiler;
}
}