BentoBoxWorld / Boxed

A game mode where you are boxed into a tiny space that only expands by completing advancements
Eclipse Public License 2.0
15 stars 4 forks source link

boxed creation #57

Closed haroldrc closed 1 year ago

haroldrc commented 1 year ago

Expected behavior

error-free boxed generation

Observed/Actual behavior

generation of errors

Steps/models to reproduce

/boxed create

https://pastebin.com/vADTX6D3

BentoBox version

[03:31:57 INFO]: Running Invalid (PUFFERFISH) 1.20.1. [03:31:57 INFO]: BentoBox version: 1.24.1-SNAPSHOT-b2434 [03:31:57 INFO]: Database: JSON [03:31:57 INFO]: Loaded Game Worlds: [03:31:57 INFO]: contea (contea): Overworld [03:31:57 INFO]: Loaded Addons: [03:31:57 INFO]: Border 4.1.1-SNAPSHOT-b182 (ENABLED) [03:31:57 INFO]: Boxed 2.3.1-SNAPSHOT-b240 (ENABLED) [03:31:57 INFO]: InvSwitcher 1.12.0-SNAPSHOT-b226 (DISABLED) [03:31:57 INFO]: Level 2.11.0-SNAPSHOT-b540 (ENABLED)

Plugin list

No response

Other

No response

tastybento commented 1 year ago

Does this happen with each box creation?

Please share your structures.yml file.

haroldrc commented 1 year ago

https://pastebin.com/raw/VhtBRQBb

tastybento commented 1 year ago

Hmm, did you change any of the config.yml? Maybe remove the nether?

Anyway, I added code to skip placing structures if the world is null, which may be caused if there is no nether world because the structure file includes the nether structures, but if there is no world, then of course that would cause an error. If you didn't remove the nether, then I am not sure why the world is null, but at least it won't error out.

Please try the latest version from the CI server (ci.bentobox.world).