[BUG] Left-click on sign doesn't start the elevator #25
Labels
No labels
bug
can reproduce
can't reproduce
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
incompatibility
invalid
needs confirmation
needs more information
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
SBDevelopment/V10Lift#25
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
Left-click on sign doesn't start the elevator. It does produce a number of console/log errors (see below).
To Reproduce
Steps to reproduce the behavior:
Spigot version:
1.15.2 (Jenkins 2628)
Plugin version
0.5.1 (v10lift info incorrectly reports 0.5)
Console/log errors
The location is not on a BentoBox island. This issue may be caused by clicking with a null item, instead of AIR (this issue has arisen with recent Spigot builds), or it may be something else entirely. What is clear: it has nothing to do with BentoBox. See, for example, [https://gitlab.com/RandomUnknown/irondoors/issues/1](this issue) from another plugin.
I will check if I can reproduce this issue and fix it.
Thanks. Works like a charm the first time. Doesn't work after that. Right-click still changes the target floor, but left-click doesn't run the elevator.
Any errors on left click?
It would be good to solve this issue, but as I noted in the Discussion forum, exposing the "run elevator" command would work around it, and get my elevators running.
I think I've isolated something useful. It seems that the above defect applies in adventure mode (this elevator is in an adventure world). In creative and survival modes, left-click works. That is why the elevator seemed to work occasionally; I was often -- but not always -- in creative mode while building, then in adventure mode for "live" testing. I hope this distinction will help resolve the issue.
That certainly helps to find a solution. It is indeed true that the lift only works in Survival & Creative. I'll remove that check, because it's unnecessary nowadays.
This can't be related to my plugin, because I don't have any checks for items in hands (only off hand checks)
Great! You might want to ensure that the offhand checks use AIR rather than null.
With that resolved, I installed a second elevator in a (survival mode) high-rise. It works great!
Nice! I will close this issue after fixing the adventure problems.
V10Lift 0.5.2
Thanks for the update. Just a note: Still to joy in adventure mode.
I know.
This issue is still open for that reason. I need to debug a little bit to find out what the reason is.
Suggestion: remove the can't reproduce tag.