1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-12-01 15:03:36 +01:00

Merge pull request #1527 from smuddgge/master

Reverted fishing exploiting
This commit is contained in:
Zrips 2023-01-06 13:57:59 +02:00 committed by GitHub
commit 34bac1b07e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -547,7 +547,7 @@ public final class JobsPaymentListener implements Listener {
// check is the fishing being exploited. If yes, prevent payment. // check is the fishing being exploited. If yes, prevent payment.
if (mcMMOPlayer != null && ExperienceConfig.getInstance().isFishingExploitingPrevented() if (mcMMOPlayer != null && ExperienceConfig.getInstance().isFishingExploitingPrevented()
&& mcMMOPlayer.getFishingManager().isFishingTooOften()) { && mcMMOPlayer.getFishingManager().isExploitingFishing(event.getHook().getLocation().toVector())) {
return; return;
} }
} }