From c6b0659590081548ffcee8e05ace4cc91310d9ca Mon Sep 17 00:00:00 2001 From: ken-kentan Date: Wed, 1 Nov 2017 10:13:02 +0900 Subject: [PATCH] fix Explore task not work --- .../com/gamingmesh/jobs/listeners/JobsPaymentListener.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/gamingmesh/jobs/listeners/JobsPaymentListener.java b/src/main/java/com/gamingmesh/jobs/listeners/JobsPaymentListener.java index 0ee5a1a2..1d1b599d 100644 --- a/src/main/java/com/gamingmesh/jobs/listeners/JobsPaymentListener.java +++ b/src/main/java/com/gamingmesh/jobs/listeners/JobsPaymentListener.java @@ -1332,14 +1332,13 @@ public class JobsPaymentListener implements Listener { Player player = event.getPlayer(); - if (!Jobs.getGCManager().payExploringWhenFlying()) + if (!Jobs.getGCManager().payExploringWhenFlying() && player.isFlying()) return; ExploreRespond respond = Jobs.getExplore().ChunkRespond(event.getPlayer(), event.getNewChunk(), true); if (!respond.isNewChunk()) return; - // make sure plugin is enabled if (!this.plugin.isEnabled()) return;