Crash when using enableLeavesDecaySlowly = true
01XUAN opened this issue · 0 comments
Changing "enableLeavesDecaySlowly" in the configuration file "tfc-server.toml" to true, breaking logs with leaves in the game will crash the game.
3.2.7-3.2.12 versions
[1612月2024 11:50:07.962] [Server thread/ERROR] [net.minecraft.server.MinecraftServer/]: Encountered an unexpected exception
net.minecraft.ReportedException: Exception ticking world
at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:897) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?]
at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:814) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?]
at net.minecraft.client.server.IntegratedServer.m_5705_(IntegratedServer.java:89) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?]
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:661) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?]
at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?]
at java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.IllegalArgumentException: Cannot set property IntegerProperty{name=distance, clazz=class java.lang.Integer, values=[1, 2, 3, 4, 5, 6, 7, 8, 9]} to 10 on Block{tfc:wood/leaves/birch}, it is not an allowed value
at net.minecraft.world.level.block.state.StateHolder.m_61124_(StateHolder.java:130) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?]
at net.dries007.tfc.common.blocks.wood.TFCLeavesBlock.m_213897_(TFCLeavesBlock.java:223) ~[0%5B群峦传说%5D%20TerraFirmaCraft-Forge-1.20.1-3.2.12.jar%23159!/:3.2.12]
at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.m_222963_(BlockBehaviour.java:758) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?]
at net.minecraft.server.level.ServerLevel.m_184112_(ServerLevel.java:680) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?]
at net.minecraft.world.ticks.LevelTicks.m_193272_(LevelTicks.java:215) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?]
at net.minecraft.world.ticks.LevelTicks.m_193225_(LevelTicks.java:98) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?]
at net.minecraft.server.level.ServerLevel.m_8793_(ServerLevel.java:296) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?]
at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:893) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?]
... 5 more