diff --git a/api/src/main/java/net/momirealms/customfishing/api/event/FishingEffectApplyEvent.java b/api/src/main/java/net/momirealms/customfishing/api/event/FishingEffectApplyEvent.java index e3a0a665..a1806dbc 100644 --- a/api/src/main/java/net/momirealms/customfishing/api/event/FishingEffectApplyEvent.java +++ b/api/src/main/java/net/momirealms/customfishing/api/event/FishingEffectApplyEvent.java @@ -47,7 +47,7 @@ public class FishingEffectApplyEvent extends Event { * {@link Stage#LOOT}: The effect at this stage play a crucial role in what loot will appear next, and weighted effects should be applied at this stage. * {@link Stage#FISHING}: The effects at this stage affect the hook time, game difficulty and other fishing-related attributes *
- * For developers, {@link Stage#CAST} will only be triggered once, while the other two stages will be triggered multiple times + * Please note that {@link Stage#CAST} will only be triggered once, while the other two stages might be triggered multiple times * * @return the stage */ @@ -62,7 +62,7 @@ public class FishingEffectApplyEvent extends Event { * Effects at stage {@link Stage#LOOT}/{@link Stage#FISHING} are temporary because the fishhook could move. For example, it flows from the water into the lava or another biome, * causing some conditional effects changing. *
- * For developers, {@link Stage#CAST} will only be triggered once, while the other two stages will be triggered multiple times
+ * Please note that {@link Stage#CAST} will only be triggered once, while the other two stages might be triggered multiple times
*
* @return the effect
*/
diff --git a/core/src/main/java/net/momirealms/customfishing/bukkit/command/feature/GetItemCommand.java b/core/src/main/java/net/momirealms/customfishing/bukkit/command/feature/GetItemCommand.java
index 8b9b47b5..620cfaeb 100644
--- a/core/src/main/java/net/momirealms/customfishing/bukkit/command/feature/GetItemCommand.java
+++ b/core/src/main/java/net/momirealms/customfishing/bukkit/command/feature/GetItemCommand.java
@@ -25,6 +25,7 @@ import net.momirealms.customfishing.api.util.PlayerUtils;
import net.momirealms.customfishing.bukkit.command.BukkitCommandFeature;
import net.momirealms.customfishing.common.command.CustomFishingCommandManager;
import net.momirealms.customfishing.common.locale.MessageConstants;
+import org.bukkit.GameMode;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
@@ -77,7 +78,7 @@ public class GetItemCommand extends BukkitCommandFeature