Security Craft

Security Craft

63M Downloads

[1.20.1] Dedicated server crashes from Passcode-protected Chest

JustAPotota opened this issue ยท 1 comments

commented

Issue description

Dedicated server throws an error when placing Passcode-protected Chest (and similar blocks), and outright crashes with the same error when loading chunks with one of those chests already placed in it.

java.lang.RuntimeException: Attempted to load class net/minecraft/client/multiplayer/ClientLevel for invalid dist DEDICATED_SERVER
	[...]
	at net.geforcemods.securitycraft.blockentities.KeypadChestBlockEntity.onLoad(KeypadChestBlockEntity.java:139) ~[%5B1.20.1%5D%20SecurityCraft%20v1.10.jar%23101!/:1.10] {re:classloading}

Steps to reproduce

  1. Start up Forge 1.20.1 server with SecurityCraft
  2. Place Passcode-protected Chest
  • Observe error in log
  1. Restart server
  2. Attempt to rejoin
  3. Server crash

Minecraft version

1.20.1

Forge/NeoForge version

47.4.0

SecurityCraft version

v1.10

Other relevant versions

No response

If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)

Crash report: https://mclo.gs/Sv3ktjR

commented

We're aware of this bug as it has also been reported in our Discord server for several different blocks. A fix will be released in the near future for it. Sorry that you're experiencing this issue.