4 Commits

4 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,6 @@
## 2.2.1 ##
* Changed priority of some event listeners to solve problems with WorldGuard and other protection plugins.
## 2.2.0 ## ## 2.2.0 ##
* Improved gate commands and shortcuts (have a look at the bukkit-dev page for more information). * Improved gate commands and shortcuts (have a look at the bukkit-dev page for more information).
* Improved overall performance. * Improved overall performance.

View File

@ -6,7 +6,7 @@
<artifactId>CraftIncGates</artifactId> <artifactId>CraftIncGates</artifactId>
<name>Craft Inc. Gates</name> <name>Craft Inc. Gates</name>
<packaging>jar</packaging> <packaging>jar</packaging>
<version>2.2.0</version> <version>2.2.1</version>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

View File

@ -27,7 +27,7 @@ import org.bukkit.event.block.BlockBreakEvent;
public class BlockBreakListener implements Listener public class BlockBreakListener implements Listener
{ {
@EventHandler(priority = EventPriority.NORMAL) @EventHandler(priority = EventPriority.MONITOR)
public void onBlockBreak(BlockBreakEvent event) public void onBlockBreak(BlockBreakEvent event)
{ {
if (event.isCancelled()) { if (event.isCancelled()) {

View File

@ -25,7 +25,7 @@ import org.bukkit.event.player.PlayerTeleportEvent;
public class PlayerTeleportListener implements Listener public class PlayerTeleportListener implements Listener
{ {
@EventHandler(priority = EventPriority.NORMAL) @EventHandler(priority = EventPriority.MONITOR)
public void onPlayerTeleport(PlayerTeleportEvent event) public void onPlayerTeleport(PlayerTeleportEvent event)
{ {
if (event.isCancelled()) { if (event.isCancelled()) {