Skip to content

Commit

Permalink
Changed to event priority of the block break listener to MONITOR. T…
Browse files Browse the repository at this point in the history
…his will resolve issues with third party protection plugins. See issue #25.
  • Loading branch information
t-unit committed Jul 10, 2013
1 parent 577531d commit 7673c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/de/craftinc/gates/listeners/BlockBreakListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ along with this program (LGPLv3). If not, see <http://www.gnu.org/licenses/>.

public class BlockBreakListener implements Listener
{
@EventHandler(priority = EventPriority.NORMAL)
@EventHandler(priority = EventPriority.MONITOR)
public void onBlockBreak(BlockBreakEvent event)
{
if (event.isCancelled()) {
Expand Down

0 comments on commit 7673c3f

Please sign in to comment.