mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-06 10:42:45 +01:00
Lower event priority of PlayerInteractEvent in order to notify other
plugins (e.g. ServerSigns) that this event is canceled. Fixes Xephi/AuthMeReloaded#283
This commit is contained in:
parent
8ed672e89d
commit
401f438211
@ -440,7 +440,7 @@ public class AuthMePlayerListener implements Listener {
|
||||
*
|
||||
* @param event PlayerInteractEvent
|
||||
*/
|
||||
@EventHandler(ignoreCancelled = true, priority = EventPriority.HIGHEST)
|
||||
@EventHandler(ignoreCancelled = true, priority = EventPriority.LOWEST)
|
||||
public void onPlayerInteract(PlayerInteractEvent event) {
|
||||
Player player = event.getPlayer();
|
||||
if (player == null || Utils.checkAuth(player))
|
||||
|
Loading…
Reference in New Issue
Block a user