mirror of
https://github.com/Xiao-MoMi/Custom-Fishing.git
synced 2025-12-19 15:09:24 +00:00
Update BukkitFishingManager.java
This commit is contained in:
@@ -82,6 +82,8 @@ public class BukkitFishingManager implements FishingManager, Listener {
|
|||||||
if (hook.isHookValid()) {
|
if (hook.isHookValid()) {
|
||||||
return Optional.of(hook);
|
return Optional.of(hook);
|
||||||
} else {
|
} else {
|
||||||
|
hook.stop();
|
||||||
|
this.castHooks.remove(player);
|
||||||
return Optional.empty();
|
return Optional.empty();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user