PlayerInteractEvent with air · Issue #287 · walterhiggins/ScriptCraft · GitHub
Skip to content

PlayerInteractEvent with air #287

Closed
Closed

Description

@tjhgit

am trying to catch an event when the player interacts with air:

var evt1 = org.bukkit.event.player.PlayerInteractEvent;
events.on(evt1,my_evt_handler);

I found how to solve this:

in lib/events-bukkit.js

change this line:
regd = new bkRegisteredListener( __plugin, eventExecutor, priority, __plugin, true );

to:
regd = new bkRegisteredListener( __plugin, eventExecutor, priority, __plugin, false );

Does this make sense to you? Then please change this on github.

See also:
#256

Activity

  1. walterhiggins commented on Mar 19, 2016

    @walterhiggins
    Owner

    Will be fixed in the next release.

  2. added 2 commits that reference this issue on Mar 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions