Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fabric 1.16.3] Invalid configuration generated #44

Closed
gdude2002 opened this issue Oct 21, 2020 · 3 comments
Closed

[Fabric 1.16.3] Invalid configuration generated #44

gdude2002 opened this issue Oct 21, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@gdude2002
Copy link

VDC version: 1.11.0.7

On first start (or restart), an invalid configuration is generated. Note the second line here:

# VanillaDeathChest configuration
spawning.
[spawning]
	# Whether death chests should only be spawned if the container can be found in the player's inventory.
	# If this is enabled, the container is consumed if it is found.
	# Default: false
	useContainerInInventory = false

This, predictably, results in the following in the logs:

[10:47:28] [main/INFO]: [STDERR]: com.electronwill.nightconfig.core.io.ParsingException: Invalid bare key: 
[spawning
[10:47:28] [main/INFO]: [STDERR]: 	at com.electronwill.nightconfig.toml.TableParser.parseKey(TableParser.java:175)
[10:47:28] [main/INFO]: [STDERR]: 	at com.electronwill.nightconfig.toml.TableParser.parseDottedKey(TableParser.java:145)
[10:47:28] [main/INFO]: [STDERR]: 	at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:55)
[10:47:28] [main/INFO]: [STDERR]: 	at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:44)
[10:47:28] [main/INFO]: [STDERR]: 	at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37)

If I comment out that second line, it's automatically uncommented after the server has started.

@TheRandomLabs
Copy link
Owner

Thanks for reporting! I'll check this out soon.

@TheRandomLabs TheRandomLabs added the bug Something isn't working label Oct 22, 2020
@TheRandomLabs
Copy link
Owner

Exams got in the way, but this should be fixed in the rewrite I have planned. 😄

@TheRandomLabs
Copy link
Owner

Fixed in 2.0.0. I promise it'll be ready soon! 😛

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants