mirror of
https://github.com/Zrips/Jobs.git
synced 2024-12-30 21:07:48 +01:00
Allow payment while fishing from a boat with disablePaymentIfRiding
This commit is contained in:
parent
63a8abc749
commit
33b4dfe6ce
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user