Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The right-click event is never called with "on door" specified #1868

Closed
Zyphrono opened this issue Feb 2, 2019 · 10 comments
Closed

The right-click event is never called with "on door" specified #1868

Zyphrono opened this issue Feb 2, 2019 · 10 comments

Comments

@Zyphrono
Copy link

Zyphrono commented Feb 2, 2019

Description

"on right click on door" / "on right click on wood door" is not working.
(I tried testing "on right click on glass" and that worked)

Steps to Reproduce

Try to use "on right click on door:" and it is not responding.
I even tried with a simple message, but no answer.

I even tried:

on right click:
[TAB] if event-block is door:

Expected Behavior

I expected it to be working fine.

Errors / Screenshots

There is no error appearing in console.

Server Information

  • Server version/platform: 1.12.2
  • Skript version: 2.3.2

Additional Context

@ghost
Copy link

ghost commented Feb 2, 2019

what you are trying do?

@Zyphrono
Copy link
Author

Zyphrono commented Feb 2, 2019

I'm trying to detect a door rn.
Just to test if a player clicks, he gets the message "Hey"

@ghost
Copy link

ghost commented Feb 5, 2019

Same here and with 2.3.3

@Nicofisi
Copy link
Member

Nicofisi commented Feb 5, 2019

Might be related to #1873 maybe?

@Nicofisi Nicofisi changed the title Rightclick on door broken? The right-click event is never called with "on door" specified Feb 5, 2019
@Zyphrono
Copy link
Author

Zyphrono commented Feb 9, 2019

This is still an issue and isn't fixed in 2.3.4

@ghost
Copy link

ghost commented Feb 10, 2019

Still in 2.3.5

@Nicofisi
Copy link
Member

As a bad and temporary workaround you could probably do something like:

on right click:
    "%event-block%" contains "door"
    do blah blah blah

@FranKusmiruk
Copy link
Member

I cannot seem to reproduce on 1.13.2, can someone confirm this is only a 1.12 issue?

@bensku
Copy link
Member

bensku commented Mar 8, 2019

It is 1.12 specific. On 1.13 we can properly ignore unspecified block states, but on 1.12 it is a bit harder.

@TheBentoBox
Copy link
Member

2.4 alphas have fixed most item comparison bugs. Iron doors do have proper aliases so this should be resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants