[SPIGOT-7298] Debug stick can modify only the default attribute when not in creative, even with minecraft.debugstick.always Created: 16/Mar/23 Updated: 25/Dec/24 Resolved: 20/Mar/23 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Z Muerle | Assignee: | Doc |
Resolution: | Fixed | Votes: | 0 |
Labels: | bug, permission | ||
Environment: |
Ubuntu server, running in a docker container. |
Version: | CraftBukkit version 3647-Spigot-19641c7-39462a8 (MC: 1.19.3) (Implementing API version 1.19.3-R0.1-SNAPSHOT) |
Guidelines Read: | Yes |
Description |
Expected behaviorleft-clicking with a debug stick should cycle through the available attributes. Observed/Actual behaviorright-clicking still cycles the selected attribute, but left-clicking does nothing. no toast about the selected attribute, and right clicking still cycles the "extended" state. This does not seem to be a new issue, as this person posted about it 2 years ago, and their fix was to just use worldedit instead: Steps/models to reproduce
Plugin and Datapack ListPlugins:
Datapacks:
|
Comments |
Comment by Doc [ 18/Mar/23 ] |
Crated PR https://hub.spigotmc.org/stash/projects/SPIGOT/repos/spigot/pull-requests/123/overview With this handle correctly in first damage of block for survival/adventure mode. |
Comment by Z Muerle [ 17/Mar/23 ] |
oh, yeah! Breaking the block with the debug stick causes it to select a different attribute, and doesn't break the block! I'm guessing that when they made it creative-only checking for the block breaking was the same as clicking on the block. So using it in survival would be quite difficult, but not impossible. |
Comment by Doc [ 16/Mar/23 ] |
update.... this works but with the survival behaviour.. if you try break the block (if the block can be broken) when finish and the block is to destroy then execute the debug stick. this need handle this logic for call the debug if has permissions. |
Comment by Doc [ 16/Mar/23 ] |
check the patch and the left-click use the permission but still require the creative/oplevel for use rather than only the permission like say the description of the permission, when can i can try a PR for this. |