mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-23 00:27:21 +00:00
tryGet -> getFromID
This commit is contained in:
1 parent
2b92e2e73b
commit
e1a6cdb484
11 files changed
+23
-33
No files matched your search
@@ -22,7 +22,7 @@ public final class TerraCLI {
|
||||
CLIPlatform platform = new CLIPlatform();
|
||||
platform.getEventManager().callEvent(new PlatformInitializationEvent());
|
||||
|
||||
ConfigPack generate = platform.getConfigRegistry().get("OVERWORLD").orElseThrow(); // TODO: make this a cli argument
|
||||
ConfigPack generate = platform.getConfigRegistry().getIDMatches("OVERWORLD").orElseThrow(); // TODO: make this a cli argument
|
||||
|
||||
CLIWorld world = new CLIWorld(2, 2, 384, -64, generate);
|
||||
|
||||
|
||||
Reference in new issue
Block a user