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

Error when setting ambient-light to 0 #339

Closed
TBlueF opened this issue Sep 13, 2022 · 0 comments
Closed

Error when setting ambient-light to 0 #339

TBlueF opened this issue Sep 13, 2022 · 0 comments
Labels
bug Something isn't working needs testing Not confirmed bug, needs more testing first

Comments

@TBlueF
Copy link
Member

TBlueF commented Sep 13, 2022

[05:21:08] [Thread-68/WARN]: [BlueMap] 
################################
 There is a problem with your BlueMap setup!
 BlueMap failed to parse this file:
 plugins/BlueMap/maps/mining.conf
 Check if the file is correctly formatted and all values are correct!
################################
[05:21:08] [Thread-68/ERROR]: [BlueMap] Failed to reload BlueMap!
java.io.IOException: de.bluecolored.bluemap.common.config.ConfigurationException: de.bluecolored.shadow.configurate.serialize.SerializationException: [ambient-light] of type java.lang.Float: Value 0.0 cannot be represented as a float without significant loss of precision
	at de.bluecolored.bluemap.common.plugin.Plugin.load(Plugin.java:326) ~[BlueMap-3.4-spigot.jar:?]
	at de.bluecolored.bluemap.common.plugin.Plugin.reload(Plugin.java:401) ~[BlueMap-3.4-spigot.jar:?]
	at de.bluecolored.bluemap.common.plugin.commands.Commands.lambda$reloadCommand$2(Commands.java:387) ~[BlueMap-3.4-spigot.jar:?]
	at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: de.bluecolored.bluemap.common.config.ConfigurationException: de.bluecolored.shadow.configurate.serialize.SerializationException: [ambient-light] of type java.lang.Float: Value 0.0 cannot be represented as a float without significant loss of precision
	at de.bluecolored.bluemap.common.config.ConfigManager.loadConfig(ConfigManager.java:65) ~[BlueMap-3.4-spigot.jar:?]
	at de.bluecolored.bluemap.common.config.BlueMapConfigs.loadMapConfigs(BlueMapConfigs.java:263) ~[BlueMap-3.4-spigot.jar:?]
	at de.bluecolored.bluemap.common.config.BlueMapConfigs.<init>(BlueMapConfigs.java:49) ~[BlueMap-3.4-spigot.jar:?]
	at de.bluecolored.bluemap.common.config.BlueMapConfigs.<init>(BlueMapConfigs.java:37) ~[BlueMap-3.4-spigot.jar:?]
	at de.bluecolored.bluemap.common.plugin.Plugin.load(Plugin.java:113) ~[BlueMap-3.4-spigot.jar:?]
	... 3 more
Caused by: de.bluecolored.shadow.configurate.serialize.SerializationException: [ambient-light] of type java.lang.Float: Value 0.0 cannot be represented as a float without significant loss of precision
	at de.bluecolored.shadow.configurate.serialize.NumericSerializers.lambda$static$1(NumericSerializers.java:113) ~[BlueMap-3.4-spigot.jar:?]
	at de.bluecolored.shadow.configurate.serialize.FunctionScalarSerializer.deserialize(FunctionScalarSerializer.java:40) ~[BlueMap-3.4-spigot.jar:?]
	at de.bluecolored.shadow.configurate.serialize.ScalarSerializer.deserialize(ScalarSerializer.java:115) ~[BlueMap-3.4-spigot.jar:?]
	at de.bluecolored.shadow.configurate.objectmapping.ObjectMapperImpl.load0(ObjectMapperImpl.java:64) ~[BlueMap-3.4-spigot.jar:?]
	at de.bluecolored.shadow.configurate.objectmapping.ObjectMapperImpl.load(ObjectMapperImpl.java:48) ~[BlueMap-3.4-spigot.jar:?]
	at de.bluecolored.shadow.configurate.objectmapping.ObjectMapperFactoryImpl.deserialize(ObjectMapperFactoryImpl.java:204) ~[BlueMap-3.4-spigot.jar:?]
	at de.bluecolored.shadow.configurate.AbstractConfigurationNode.get(AbstractConfigurationNode.java:151) ~[BlueMap-3.4-spigot.jar:?]
	at de.bluecolored.shadow.configurate.ConfigurationNode.get(ConfigurationNode.java:520) ~[BlueMap-3.4-spigot.jar:?]
	at de.bluecolored.bluemap.common.config.ConfigManager.loadConfig(ConfigManager.java:63) ~[BlueMap-3.4-spigot.jar:?]
	at de.bluecolored.bluemap.common.config.BlueMapConfigs.loadMapConfigs(BlueMapConfigs.java:263) ~[BlueMap-3.4-spigot.jar:?]
	at de.bluecolored.bluemap.common.config.BlueMapConfigs.<init>(BlueMapConfigs.java:49) ~[BlueMap-3.4-spigot.jar:?]
	at de.bluecolored.bluemap.common.config.BlueMapConfigs.<init>(BlueMapConfigs.java:37) ~[BlueMap-3.4-spigot.jar:?]
	at de.bluecolored.bluemap.common.plugin.Plugin.load(Plugin.java:113) ~[BlueMap-3.4-spigot.jar:?]
	... 3 more
@TBlueF TBlueF moved this from TODO to In progress in TODO / Idea board Oct 10, 2022
@TBlueF TBlueF closed this as completed in 201b8c9 Oct 10, 2022
@TBlueF TBlueF moved this from In progress to Ready for next release in TODO / Idea board Oct 10, 2022
@TBlueF TBlueF moved this from Ready for next release to Done in TODO / Idea board Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs testing Not confirmed bug, needs more testing first
Projects
Status: Done
Development

No branches or pull requests

1 participant