Open Ghostrider231 opened 6 years ago
Seems like the random gets 0 as upper bound in this case and crashed then. I have to look into this.
Any progress of this problem?
I also met with this which caused my server crashed while I and my friends were in the Twilight forest.
I also wonder if there is any progress on this?
No, this issue was posted in the 1.7 issue tracker which is dead.
I made a new issue in the 1.12 tracker and referenced it.
This isn't much to say, but something worth pointing out because in the config, it says [range 0 ~ 10000].
Apparently the crash can be repeated by just simply entering/teleporting to any mushroom biome so as long i have the global spawnweight set to 0. (Doesn't matter if the world is new or existing)
Config Example
NO Crashes in the Mushroom biome
================
Crashes in the Mushroom biome
The Crash Report (Been cut down to the important parts)
---- Minecraft Crash Report ----
WARNING: coremods are present: Techguns Core (techguns-1.12.2-2.0.1.1.jar) Contact their authors BEFORE contacting forge
// Don't do that.
Time: 2/2/18 12:40 PM Description: Exception ticking world
java.lang.IllegalArgumentException at net.minecraft.util.WeightedRandom.func_76273_a(SourceFile:18) at net.minecraft.util.WeightedRandom.func_76271_a(SourceFile:37) at net.minecraft.world.WorldServer.func_175734_a(WorldServer.java:246) at net.minecraft.world.WorldEntitySpawner.func_77192_a(WorldEntitySpawner.java:127) at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:203) at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:754) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:666) at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:185) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:524) at java.lang.Thread.run(Thread.java:745)
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head -- Thread: Server thread Stacktrace: at net.minecraft.util.WeightedRandom.func_76273_a(SourceFile:18) at net.minecraft.util.WeightedRandom.func_76271_a(SourceFile:37) at net.minecraft.world.WorldServer.func_175734_a(WorldServer.java:246) at net.minecraft.world.WorldEntitySpawner.func_77192_a(WorldEntitySpawner.java:127) at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:203)
Stacktrace: at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:754) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:666) at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:185) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:524) at java.lang.Thread.run(Thread.java:745)
Techguns Core (techguns-1.12.2-2.0.1.1.jar) techguns.core.TechgunsASMTransformer GL info:
ERRORRuntimeException: No OpenGL context found in the current thread.