From 33b4dfe6cee5be705c73d3c09fb3c5b473144050 Mon Sep 17 00:00:00 2001 From: Zrips Date: Sat, 27 Nov 2021 15:31:28 +0200 Subject: [PATCH] Allow payment while fishing from a boat with disablePaymentIfRiding --- .../java/com/gamingmesh/jobs/listeners/JobsPaymentListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gamingmesh/jobs/listeners/JobsPaymentListener.java b/src/main/java/com/gamingmesh/jobs/listeners/JobsPaymentListener.java index db687528..01609c11 100644 --- a/src/main/java/com/gamingmesh/jobs/listeners/JobsPaymentListener.java +++ b/src/main/java/com/gamingmesh/jobs/listeners/JobsPaymentListener.java @@ -526,7 +526,7 @@ public final class JobsPaymentListener implements Listener { return; // check if player is riding - if (Jobs.getGCManager().disablePaymentIfRiding && player.isInsideVehicle()) + if (Jobs.getGCManager().disablePaymentIfRiding && player.isInsideVehicle() && !player.getVehicle().getType().equals(EntityType.BOAT)) return; if (!payForItemDurabilityLoss(player))