BlueMap

BlueMap

85.1k Downloads

Error when setting ambient-light to 0

TBlueF opened this issue ยท 0 comments

commented
[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