Sophisticated Storage

Sophisticated Storage

36M Downloads

Mod incompatibility on dedicated servers

Elle199 opened this issue ยท 1 comments

commented

Summry

When using Sophisticated Storage along side Chisels & Bits on a dedicated server there is a crash for the client every time the player tried to extract items from a Limited Barrel.

Detailed description

I should firstly clarify that this is not a problem with the Chisels & Bits mod itself but instead a library it uses called Scena.

When a player tries to extract items from a Limited Barrel via left-clicking / attack the players client crashes with a java.lang.IllegalArgumentException: No enum constant error. This only happens when a player is connected to a server and not in a single-player world and only the player who left-clicked the barrel is crashes.

Items can still be extracted normally from the GUI of the barrel by simply right-clicking the side of the Limited Barrel.

The crash log is available here: https://gist.github.com/Elle199/e8adcc6f721a207dae9795f2ad387b16.
The latest log is available here: https://gist.github.com/Elle199/8550ca9c14cca679128ffb19483772f8.

I don't know exactly who's repo to create this issue in so I start here as the crash technically only occurs when left-clicking on a Limited Barrel on a dedicated server.

Steps to reproduce

  1. Install Sophisticated Storage (latest version tested was 1.4.39.1174 for MC NeoForge 1.21.1) and Chisels & Bits (latest version tested was 21.1.25)
  2. Set up a server with the same mods
  3. Place a Limited Barrel and try to left click it.

Mods used

NeoForge 21.1.176
Chisels & Bits 21.1.25
Jade 15.10.1
JEI 19.21.0.247
Sophisticated Storage 1.4.39.1174
Sophisticated Core 1.5.50.1004

commented

That is a bug in Scena where they try to parse forge event result values of TRUE/DEFAULT/FALSE into enumeration that has constants of DENY/DEFAULT/ALLOW and yup that is only going to work for the default value, but not for value of FALSE that is returned when player left clicks on limited barrel. Anyway that is for them to fix so closing