From 614557e2fa40ed6c49919f27666060527605e79a Mon Sep 17 00:00:00 2001 From: GJ Date: Mon, 20 May 2013 08:07:22 -0400 Subject: [PATCH] It'd be nice if Ice Fishing actually worked. --- src/main/java/com/gmail/nossr50/listeners/PlayerListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java b/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java index 56f4c0702..39f140b16 100644 --- a/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java @@ -209,7 +209,7 @@ public class PlayerListener implements Listener { case IN_GROUND: Fish hook = event.getHook(); - Block block = hook.getLocation().getBlock(); + Block block = event.getPlayer().getTargetBlock(null, 100); if (fishingManager.canIceFish(block)) { event.setCancelled(true);