Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.

Tesseract dupe items #17

@ybw0014

Description

@ybw0014

Description (Required)

Using Tesseract to transfer items, it can stack items with same id and lore, but they are actually different items.
This situation is similar to Slimefun/Slimefun4#3379 but I've looked at the code, tesseract uses dough's utils to compare items, which doesn't compare pdcs so items can be stacked.

The tested items that are affected: Infinity Storage, Network Quantum Storage.

Steps to reproduce the Issue (Required)

  1. Setting up a pair of tesseract. 1 and 2.
  2. Get a barrel, and put items in it, we label it as Barrel A.
  3. Get a barrel, put nothing in it, we lavel it as Barrel B.
  4. Put Barrel A in Tesseract 1's output slot.
  5. Put Barrel B in Tesseract 2's input slot.
  6. The Barrel A's amount increases.

Expected behavior (Required)

Tesseract can distinguish items with same id and lore but different pdcs.

Server Log / Error Report

Environment (Required)

  • Minecraft Version: 1.18.2
  • CS-CoreLib Version:
  • Slimefun Version: 1014
  • Plugin Version: 165

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions