EnvironmentZ

EnvironmentZ

1M Downloads

Crashes on Anvil Screen when item NBT is null

Szymzal opened this issue ยท 1 comments

commented

Minecraft Version

1.20.x

Mod Loader Version

0.14.22

Mod Version

2.0.5

Describe the Issue

I am using Create mod with Create: Steam 'n' Rails mod addon.
When trying to change name in anvil of conductor's cape (Create: Steam 'n' Rails mod item), it crashes.

Probably the cause is in:

if (!itemStack.getNbt().contains("environmentz")) {

When NBT is null which is the case in conductor's cape, the client crashes

latest.log

latest.log

Do you use any other mods except the required ones?

Create Fabric, Create: Steam 'n' Rails, StackDeobfuscator

commented

Fixed with 14e32e4
Thanks for report.