Fix NPE in ItemsTooltipLineHandler (#589)

(cherry picked from commit fd08a93554)
This commit is contained in:
Caedis authored and Martin Robertz committed 2025-02-23 17:12:07 +01:00
1 parent 0f9df94b8a
commit 1da2d66967
1 file changed
+2
@@ -123,6 +123,8 @@ public class ItemsTooltipLineHandler implements ITooltipLineHandler {
for (ItemStack stack : items) {
final NBTTagCompound nbTag = StackInfo.itemStackToNBT(stack, true);
if (nbTag == null) continue;
final String GUID = StackInfo.getItemStackGUID(stack);
if (!unique.containsKey(GUID)) {