1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-25 20:16:13 +01:00

Reverted fishing exploiting

This commit is contained in:
smuddgge 2022-11-19 13:26:34 +00:00
parent f0d6576c77
commit 3425a3ba1a

View File

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