Date and Time (please include the timezone): just now, 30/5/21 20:00bst
Describe the bug or exploit: Modifying a sign with the itemizer command will not modify the sign you are looking at. Rather, it will modify the sign that is the same Y level as your player's head. This means that if you are trying to modify a sign 1 block off the ground but there is another sign above that one, it will modify the top sign instead.
Plugin(s) impacted: Itemizer.
Expected behaviour (if known): Sign that the player is looking at should be modified.
Step to reproduce: Place two blocks with signs on their faces. Look at the bottom sign and use itemizer to edit one of the lines.
Which server did you find the bug (Freedom-01 or Freedom-02)? Freedom-01
Can the bug or exploit be reproduced on another server within the network? It should be.
/ii sign won't edit the correct sign.
-
erin -
May 30, 2021 at 8:12 PM -
Closed
-
-
Your description is not entirely accurate, but I understand how you came to that conclusion. The bug is actually that it sees all blocks as full blocks, so your line of sight "hits" the block that the top sign is in before hitting the bottom sign.
The solution is to replace getTargetBlock at https://github.com/Focusvity/Item…mmand.java#L892 with getTargetBlockExact.
-
As an alternative there's /editsign (and its aliases) which will edit the sign you're pointing at
-
I'll fix the issue soon - need to edit the CoreProtect bridge for ItemizerX so I will include the fix.
-
wild1145
July 17, 2022 at 1:44 PM Moved the thread from forum Imported from Flarum to forum Bug Reporting. -
wild1145
July 17, 2022 at 5:33 PM Moved the thread from forum Bug Reporting to forum Closed Reports.