MWall541 / Dragon-Mounts-Legacy

Github Repository for the Dragon Mounts: Legacy Minecraft Mod. Please Report any issues here!
GNU General Public License v3.0
38 stars 36 forks source link

1.18.2 Forge | Game crashing with red egg #255

Open L0WSP0T opened 4 weeks ago

L0WSP0T commented 4 weeks ago

Version: 1.18.2 Forge

Crash Report: java.lang.NullPointerException: Cannot invoke "net.minecraft.nbt.CompoundTag.m128461(String)" because "tag" is null at com.github.kay9.dragonmounts.dragon.DMLEggBlock$Item

Steps to Reproduce:

Description of issue:

L0WSP0T commented 4 weeks ago

Uh for some reason what I wrote didnt go through above???

Reproduce: On a server, simply obtain a red egg in any way, give command, normally or creative

Description: While on a server, obtaining a red egg crashes the player. Not the server. The player is unable to load the world without crashing unless they remove the item from their inventory using playerdata files