Increase priority of EntityPortalEvent listener
https://github.com/BentoBoxWorld/BentoBox/issues/1866
This commit is contained in:
parent
6aa7869b17
commit
8752e19e5d
|
@ -97,7 +97,7 @@ public class PortalTeleportationListener implements Listener {
|
|||
*
|
||||
* @param e - event
|
||||
*/
|
||||
@EventHandler(priority = EventPriority.LOW, ignoreCancelled = true)
|
||||
@EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true)
|
||||
public boolean onEntityPortal(EntityPortalEvent e) {
|
||||
if (plugin.getIWM().inWorld(e.getFrom())) {
|
||||
Optional<Material> mat = Arrays.stream(BlockFace.values())
|
||||
|
|
Loading…
Reference in New Issue