BuiltBrokenModding / MFFS_Classic

Classic version of Claclavia's MMFS mod
MIT License
19 stars 11 forks source link

Getting Client Crashes #33

Closed sfxworks closed 1 year ago

sfxworks commented 6 years ago

When turning the forcefield on, putting in upgrades and getting too close to the forcefield, the client crashes.

Crash report: https://github.com/TBGN/lapitos-server/issues/8

DarkGuardsman commented 6 years ago

Going to say its either a cauldran or fastcraft issue

Especially since the line its crashing on its a vanilla call to get the tile entity. https://github.com/BuiltBrokenModding/MFFS_Classic/blob/master/src/main/java/com/builtbroken/mffs/content/field/BlockForceField.java#L346

DarkGuardsman commented 6 years ago

Added a temp fix that might solve the problem, but its not a real fix. What it will do is catch the crash the first 5 times and then suppress the error. This should prevent the game from failing but will cause render problems.

clienthax commented 6 years ago

@DarkGuardsman

      Item item = stack != null ? stack.func_77973_b() : null;

      if (((Integer)errorCount.get(item)).intValue() < 5)

https://pastebin.com/PWF27tkn errorcount.get... null....

xJon commented 6 years ago

Any update? This crash is still happening even in the latest build.

Su5eD commented 1 year ago

This is now outdated as we dropped 1.7.10 in favor of the rewrite.