Skip to content

Books and player heads metadata copy/dupeย #4020

@CoolFido

Description

@CoolFido

โ— Checklist

  • I am using the official english version of Slimefun and did not modify the jar.
  • I am using an up to date "DEV" (not "RC") version of Slimefun.
  • I am aware that issues related to Slimefun addons need to be reported on their bug trackers and not here.
  • I searched for similar open issues and could not find an existing bug report on this.

๐Ÿ“ Description

If you connect two chests via Cargo Nodes, you can copy metadata of signed books and player heads from one to another, resulting in, for example, duplication of "cheque" books, or other valuable books or heads.

๐Ÿ“‘ Reproduction Steps

  1. Have two signed books (A and B).
  2. Place these blocks (listed from left to right, but placement order does not matter, appaerently):
    • Chest,
    • Cargo Node (Input),
    • Cargo Manager
    • Cargo Node (Output),
    • Chest.
  3. Set the Cargo Node (Input) type to Blacklist.
  4. Insert the book to be copied (A) into the right (output) chest.
  5. Insert the other book (B) into the left (input) chest.
  6. In the right chest you will have the copied book (A) two times.

The same applies to player heads.

Also it works for higher quantities of items: for example, if you were to fill the right chest with the A books, and then proceed to insert some B books into the left chest, the item stacks in the right chest will all get eventually filled up.

On the other hand, if you would only have 1 A book in the right chest and you were to put 17 B books into the left chest, you would end up with 16 A books and 2 B books in the right chest. So the issue is clearly linked to incomplete item stacks.

๐Ÿ’ก Expected Behavior

I would expect the B book to transfer to the right (output) chest, instead of getting another A book.

๐Ÿ“ท Screenshots / Videos

See the bug reproduction process screencap: https://ctrlv.tv/ZLMh

๐Ÿ“œ Server Log

No response

๐Ÿ“‚ /error-reports/ folder

No response

๐Ÿ’ป Server Software

Paper

๐ŸŽฎ Minecraft Version

1.17.x

โญ Slimefun version

Tested on:

This Server uses the following setup of Slimefun:
Paper git-Paper-411 (MC: 1.17.1)
Slimefun RC - 35 (git 5e901972)
Metrics-Module #29
Java 17
Installed Addons: (2)
  CMILib v1.2.5.3
  CMI v9.2.1.1

,

This Server uses the following setup of Slimefun:
Paper git-Paper-411 (MC: 1.17.1)
Slimefun DEV - 1104 (git c977454e)
Metrics-Module #29
Java 17
Installed Addons: (2)
  CMILib v1.2.5.3
  CMI v9.2.1.1

and:

This Server uses the following setup of Slimefun:
Paper git-Paper-81 (MC: 1.19)
Slimefun RC - 35 (git 5e901972)
Metrics-Module #29
Java 17
Installed Addons: (14)
  DyedBackpacks vDEV - 17 (git 8b329e96)
  Residence v5.0.2.0
  EcoPower vDEV - 5 (git 5c1ecd68)
  HotbarPets vDEV - 38 (git fa6c871d)
  ExoticGarden vDEV - 78 (git 7f9a5f63)
  InfinityExpansion vDEV - 144 (git 9da37202)
  ElectricSpawners vDEV - 23 (git 6ec96773)
  LiteXpansion vDEV - 192 (git 661862ed)
  SoulJars vDEV - 24 (git 78d1c6fa)
  SlimyTreeTaps vDEV - 20 (git 963f0383)
  PrivateStorage vDEV - 18 (git 5832db21)
  FluffyMachines vDEV - 132 (git ccf029ba)
  CMI v9.6.0.7
  Core v1.0

๐Ÿงญ Other plugins

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions