diff --git a/src/main/java/com/gmail/nossr50/skills/gathering/Fishing.java b/src/main/java/com/gmail/nossr50/skills/gathering/Fishing.java index 2974b05b3..5d05af19c 100644 --- a/src/main/java/com/gmail/nossr50/skills/gathering/Fishing.java +++ b/src/main/java/com/gmail/nossr50/skills/gathering/Fishing.java @@ -191,6 +191,10 @@ public class Fishing { * @param event The event to modify */ public static void shakeMob(PlayerFishEvent event) { + if (!(event.getCaught() instanceof LivingEntity)) { + return; + } + int randomChance = 100; if (event.getPlayer().hasPermission("mcmmo.perks.lucky.fishing")) {