mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
Change PlayerFishEvent priority to HIGH instead of HIGHEST
This commit is contained in:
parent
b59d1afdb4
commit
31076e6ba9
@ -2,6 +2,7 @@ Version 2.1.177
|
|||||||
Environmentally aware will now protect Wolves from Magma blocks
|
Environmentally aware will now protect Wolves from Magma blocks
|
||||||
Fixed a bug where mcMMO would fail to update a players name when it detected a name change
|
Fixed a bug where mcMMO would fail to update a players name when it detected a name change
|
||||||
mcMMO will treat vanished players as if they are offline when using the inspect command on them now (see notes)
|
mcMMO will treat vanished players as if they are offline when using the inspect command on them now (see notes)
|
||||||
|
mcMMO now listens to PlayerFishEvent at HIGH event priority instead of HIGHEST
|
||||||
|
|
||||||
NOTES:
|
NOTES:
|
||||||
A few changes were made to the inspect command, it used to reject you when used on vanished players, now it will be processed as if they are offline.
|
A few changes were made to the inspect command, it used to reject you when used on vanished players, now it will be processed as if they are offline.
|
||||||
|
@ -258,7 +258,7 @@ public class PlayerListener implements Listener {
|
|||||||
*
|
*
|
||||||
* @param event The event to modify
|
* @param event The event to modify
|
||||||
*/
|
*/
|
||||||
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
|
@EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true)
|
||||||
public void onPlayerFishHighest(PlayerFishEvent event) {
|
public void onPlayerFishHighest(PlayerFishEvent event) {
|
||||||
/* WORLD BLACKLIST CHECK */
|
/* WORLD BLACKLIST CHECK */
|
||||||
if(WorldBlacklist.isWorldBlacklisted(event.getPlayer().getWorld()))
|
if(WorldBlacklist.isWorldBlacklisted(event.getPlayer().getWorld()))
|
||||||
|
Loading…
Reference in New Issue
Block a user