Bug: OTG Spawn doesnt work for WorldObjects
LanToaster opened this issue ยท 2 comments
"/otg spawn OBJECT" only works for Objects located in GlobalObjects, and only for Objects that dont contain a Space.
E.g.
OpenTerrainGenerator\GlobalObjects\FooBar.bo3 - Spawns
OpenTerrainGenerator\GlobalObjects\Foo Bar.bo3 - NotFound
OpenTerrainGenerator\worlds\world\WorldObjects\BarFoo.bo3 - NotFound
OpenTerrainGenerator\worlds\world\WorldObjects\Bar Foo.bo3 - NotFound
Tested on Spigot, but I assume it wont work on Forge the same, this is Broken since quite some time.
Edit: Okey, it turns out you can add the Preset to the command, but it should default to the world you are currently in if none Specified. But still cant spawn Objects with Spaces in the name.
Maybe one should also update the Usage Info on the command. Typing:
"/otg spawn" just prints: "You must enter the name of the BO2" this sounds very outdated.
Fixed for v9.0_r2. The worldname parameter has been removed, so its /otg spawn . Spaces are allowed. The worldobjects folder for the current world is searched, if no bo3 is found, other dims' world folder are searched, if no bo3 is found, globalobjects is searched.