
[Bug]: Failed to save chunk 1.21.1
tiigerbones opened this issue · 0 comments
Is there an existing issue for this?
- I have searched the existing issues
Description
Bug
When cost type is set to item and using the waystone multiple times i start to get log spam.
Game seems to run fine regardless but it does spam logs too much.
Breaking the waystone and setting it again temporarily fixes this until the max value is exceeded again.
Mods installed
To Reproduce
- Set cost type to Item
- Set cost item to anything example
minecraft:amethyst_shard
- Adjust base cost example
15
- set 2 waystones
- teleport enough times until you get a similiar error in log
Expected behavior
No log spam (Stack size growth handling?)
Mod Version
v3.3.4
Minecraft Version
1.21.1
Java Version
Java 21
Fabric Version
- Fabric: 0.17.2
- Fabric API: 0.116.6+1.21.1
Relevant log output
[11:48:39] [Server thread] [net.minecraft.server.MinecraftServer/ERROR]:
Failed to save chunk -44,14
java.lang.IllegalStateException: Value must be within range [1;99]: 120
at knot//com.mojang.serialization.DataResult$Error.mde48521$owo$lambda$addStackTraceToException$0$0(DataResult.java:565)
at knot//com.mojang.serialization.DataResult$Error.getOrThrow(DataResult.java:287)
at knot//com.mojang.serialization.DataResult.getOrThrow(DataResult.java:81)
at knot//net.minecraft.class_1799.method_57376(class_1799.java:396)
at knot//net.minecraft.class_1262.method_5427(class_1262.java:43)
at knot//net.minecraft.class_1262.method_5426(class_1262.java:33)
at knot//wraith.fwaystones.block.WaystoneBlockEntity.createTag(WaystoneBlockEntity.java:177)
at knot//wraith.fwaystones.block.WaystoneBlockEntity.method_11007(WaystoneBlockEntity.java:161)
at knot//net.minecraft.class_2586.method_38244(class_2586.java:125)
at knot//net.minecraft.class_2586.method_38242(class_2586.java:105)
at knot//net.minecraft.class_2818.method_20598(class_2818.java:417)
at knot//net.minecraft.class_2852.method_12410(class_2852.java:331)
at knot//net.minecraft.class_3898.method_17228(class_3898.java:784)
at knot//net.minecraft.class_3898.method_39925(class_3898.java:748)
at knot//net.minecraft.class_3898.method_20605(class_3898.java:490)
at knot//net.minecraft.class_3898.method_17233(class_3898.java:441)
at knot//net.minecraft.class_3215.method_12127(class_3215.java:314)
at knot//net.minecraft.class_3218.method_18765(class_3218.java:350)
at knot//net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:1021)
at knot//net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:912)
at knot//net.minecraft.class_1132.method_3748(class_1132.java:114)
at knot//net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:697)
at knot//net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:281)
at java.base/java.lang.Thread.run(Unknown Source)
Anything else?
No response