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

Tesseract dupe items #17

Open
ybw0014 opened this issue Jun 10, 2022 · 0 comments
Open

Tesseract dupe items #17

ybw0014 opened this issue Jun 10, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@ybw0014
Copy link
Member

ybw0014 commented Jun 10, 2022

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
@ybw0014 ybw0014 added the bug Something isn't working label Jun 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant