Compare commits
4 Commits
version2.2
...
version2.2
Author | SHA1 | Date | |
---|---|---|---|
54545a9ee1 | |||
560bbf0394 | |||
2150cc66d0 | |||
7673c3f674 |
@ -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.
|
||||||
|
2
pom.xml
2
pom.xml
@ -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>
|
||||||
|
@ -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()) {
|
||||||
|
@ -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()) {
|
||||||
|
Reference in New Issue
Block a user