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

SoulSpawner crash on use #12

Open
Shroototem opened this issue May 5, 2022 · 0 comments
Open

SoulSpawner crash on use #12

Shroototem opened this issue May 5, 2022 · 0 comments

Comments

@Shroototem
Copy link

Minecraft: 1.18.2
Fabric: 0.13.3
Croparia: 3.8.3

Crash on block use for the croparia:soul_spawner block.

java.lang.ExceptionInInitializerError
	at Not Enough Crashes deobfuscated stack trace.(1.18.2+build.2)
	at com.croparia.mod.client.screen.handlers.OneSlotScreenHandler.<init>(OneSlotScreenHandler.java:26)
	at com.croparia.mod.blockEntity.SpawnerBE.createMenu(SpawnerBE.java:62)
	at net.minecraft.server.network.ServerPlayerEntity.openHandledScreen(ServerPlayerEntity:1031)
	at com.croparia.mod.block.SoulSpawner.onUse(SoulSpawner.java:37)
	at net.minecraft.block.AbstractBlock$AbstractBlockState.onUse(AbstractBlock:939)
	at net.minecraft.server.network.ServerPlayerInteractionManager.redirect$zpa000$activateWithOptionalCactus(ServerPlayerInteractionManager:1529)
	at net.minecraft.server.network.ServerPlayerInteractionManager.interactBlock(ServerPlayerInteractionManager:336)
	at net.minecraft.server.network.ServerPlayNetworkHandler.onPlayerInteractBlock(ServerPlayNetworkHandler:1081)
	at net.minecraft.network.packet.c2s.play.PlayerInteractBlockC2SPacket.apply(PlayerInteractBlockC2SPacket:30)
	at net.minecraft.network.packet.c2s.play.PlayerInteractBlockC2SPacket.apply(PlayerInteractBlockC2SPacket:8)
	at net.minecraft.network.NetworkThreadUtils.method_11072(NetworkThreadUtils:22)
	at net.minecraft.server.ServerTask.run(ServerTask:18)
	at net.minecraft.util.thread.ThreadExecutor.executeTask(ThreadExecutor:157)
	at net.minecraft.util.thread.ReentrantThreadExecutor.executeTask(ReentrantThreadExecutor:23)
	at net.minecraft.server.MinecraftServer.executeTask(MinecraftServer:808)
	at net.minecraft.server.MinecraftServer.executeTask(MinecraftServer:165)
	at net.minecraft.util.thread.ThreadExecutor.runTask(ThreadExecutor:131)
	at net.minecraft.server.MinecraftServer.runOneTask(MinecraftServer:790)
	at net.minecraft.server.MinecraftServer.runTask(MinecraftServer:784)
	at net.minecraft.util.thread.ThreadExecutor.runTasks(ThreadExecutor:116)
	at net.minecraft.server.MinecraftServer.runTasksTillTickEnd(MinecraftServer:768)
	at net.minecraft.server.MinecraftServer.handler$zmc000$modifiedRunLoop(MinecraftServer:3905)
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer:676)
	at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer:273)
	at java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.IllegalStateException: Registry is already frozen (trying to add key ResourceKey[minecraft:menu / croparia:transformer])
	at net.minecraft.util.registry.SimpleRegistry.assertNotFrozen(SimpleRegistry:80)
	at net.minecraft.util.registry.SimpleRegistry.set(SimpleRegistry:90)
	at net.minecraft.util.registry.SimpleRegistry.set(SimpleRegistry:86)
	at net.minecraft.util.registry.SimpleRegistry.add(SimpleRegistry:134)
	at net.minecraft.util.registry.Registry.register(Registry:471)
	at net.minecraft.util.registry.Registry.register(Registry:467)
	at net.fabricmc.fabric.api.screenhandler.v1.ScreenHandlerRegistry.registerSimple(ScreenHandlerRegistry.java:88)
	at com.croparia.mod.client.screen.ModScreenHandlers.<clinit>(ModScreenHandlers.java:14)
	... 25 more
	```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant