9
0
mirror of https://github.com/Xiao-MoMi/Custom-Fishing.git synced 2025-12-30 04:19:30 +00:00

wait time fix & no game

This commit is contained in:
XiaoMoMi
2023-11-10 00:16:08 +08:00
parent 8fb6a0f5e7
commit eb3e9bdcb6
2 changed files with 16 additions and 11 deletions

View File

@@ -84,7 +84,7 @@ public interface FishingManager {
* @param condition The condition used to determine the game.
* @param effect The effect applied to the game.
*/
void startFishingGame(Player player, Condition condition, Effect effect);
boolean startFishingGame(Player player, Condition condition, Effect effect);
/**
* Starts a fishing game for the specified player with the given settings and game instance.
@@ -93,7 +93,7 @@ public interface FishingManager {
* @param settings The game settings for the fishing game.
* @param gameInstance The instance of the fishing game to start.
*/
void startFishingGame(Player player, GameSettings settings, GameInstance gameInstance);
boolean startFishingGame(Player player, GameSettings settings, GameInstance gameInstance);
/**
* Checks if a player with the given UUID has cast their fishing hook.