Fix NPE in ItemsTooltipLineHandler (#589)

This commit is contained in:
Caedis authored and GitHub committed 2025-01-10 10:42:23 +02:00
1 parent 4dace1f6e5
commit fd08a93554
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)) {