Disc in Jukebox gets deletet with pipes
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start in src/main/java/com/sk89q/craftbook/mechanics/pipe/Pipes.java around line 177, then reproduce the issue with a pipe feeding a jukebox as described. Verify the behavior for both an empty and already occupied jukebox. Done means a disc is inserted only when the jukebox is empty, without deleting an existing disc.
Written by the indexing model from the issue text.
Description
Versions
CraftBook version: 3.10.5
Bukkit version: 1.18.1
Describe the bug
If you pipe in a music disc into a jukebox it only works if a disc is already in the jukebox. It also deletes the old disc when the new one is insertet.
To Reproduce
- create a simple pipe system
- put a jukebox to the end
- try to pipe a disk into the empty jukebox
- add disc to the jukebox
- activate the pipe again
Expected behavior
- it should be vise versa i think
- only pipe in the disc when the jukebox is empty so the disc gets not deleted
Additional context
- Dominant language
- Java
- Stars
- 320
- Forks
- 165
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EngineHub/CraftBook
-
status:pending type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
status:pending type:bug
Difficulty 3/5 1-2 days Newbie friendliness 58/100
-
status:pending type:bug
Difficulty 3/5 1-2 days Newbie friendliness 62/100
-
status:pending type:bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
status:accepted type:feature-request
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in EngineHub/CraftBook
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
checkstyle/test-configs#263 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
[BUG]茶杯方块在取茶时会引发崩溃 Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
1.0.0-alpha2 Type/Improvement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
wso2/dpdp-accelerator#272 ·