Skip to content

Malformed Jukebox-logic allows to duplicate discs indefinitely #1361

@BlvckBytes

Description

@BlvckBytes

CraftBook Version

craftbook-3.10.13-SNAPSHOT

Platform Version

Paper version 1.21.10-101-main@893ea74

Confirmations

  • I am using the most recent Minecraft release.
  • I am using a version of WorldEdit compatible with my Minecraft version.
  • I am using a version of CraftBook compatible with my Minecraft version.
  • I am using the latest or recommended version of my platform software.
  • I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

Bug Description

Since the logic of Jukeboxes is malformed both while sucking and while putting, one can duplicate discs indefinitely. Here's a short preview outlining the situation:

https://streamable.com/po7ze6

This also works if the pipe simply had either no containers attached, or if all of these containers couldn't hold another of the disc in question.

Expected Behavior

The disc should simply be transported to the other Jukebox.

Reproduction Steps

  1. Set up two empty Jukeboxes, one on a sticky- and one on a normal piston
  2. Connect the pistons with glass-blocks
  3. Add an input-clock (or clock manually)
  4. Put a disc into the input - notice how it is dropped over and over again
  5. Remove the disc manually - now the cycle stops

Anything Else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:pendingPending acceptance or closure.type:bugIncorrect behavior, not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions