mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-29 05:55:27 +01:00
Merge pull request #1527 from smuddgge/master
Reverted fishing exploiting
This commit is contained in:
commit
34bac1b07e
@ -547,7 +547,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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user