Release 1.7.3: fix clicking issue in adventure mode
Before this version, it wasn't possible to open/unveil a sweeper tile in adventure mode, due to the PlayerInteractEvent never being called. This update fixes this by also listening for the PlayerAnimationEvent.
Note for Spigot users: In Spigot the PlayerAnimationEvent also called for right-clicks. This is not an issue for flagging the tile, but when unflagging the tile, this will cause the tile to be opened immediately as well (only in adventure mode). When using Paper, the event isn't called for right-clicks, so there is no issue there.