Tech Reborn

Tech Reborn

30M Downloads

1.18.2 "Dupe" Glitch Crude Storage Unit

DarkoroDragon opened this issue ยท 3 comments

commented

Describe the bug
A locked crude storage unit set to auto input from an adjacent container can pull in items that are not locked to the crude storage unit. Manually inserting a locked item into that crude storage unit turns all of the pulled items into the locked item.

Steps to Reproduce

  1. Place a crude storage unit next to another container (confirmed with barrels and hoppers that dont point directly into the storage unit).
  2. Insert an item into the crude storage unit and lock it. (confirmed with feathers).
  3. Remove the item from the storage unit so that it is empty. Confirm that the item is still locked onto the storage unit.
  4. Turn on Auto-Input for the storage unit, facing the adjacent container.
  5. Input a non-locked item into the adjacent container (confirmed with eggs).
  6. The non-locked item should be pulled into the storage container.
  7. Place a locked item (in the confirmed example, a feather) manually into the input slot of the storage unit.
  8. The non-locked item (the egg) should be replaced by 2 of the locked item (2 feathers).

Screenshots
image
image
image

Note the 16 eggs, and the 43 feathers, becomes 59 feathers.

Environment (please complete the following information with the version):

  • Minecraft: 1.18.2
  • Mod Loader: Fabric
  • Modpack: Valhelsia Enhanced Vanilla 1.4.2
  • Tech Reborn version: 5.2.0

Logs
Pastebin the log [e.g. logs/latest.log] and link it below:
https://pastebin.com/X90SYc88

Additional context
Add any other context about the problem here.

commented

Update: This happens if you set the auto-input of items onto the output slot with the wrench icon, but not if you only set the auto-input using the input slot on the UI.

commented

That is critical, someone just used this bug copy items.

commented

Sorry, no efforts from TR dev team on 1.18. Feel free to submit a PR.