From 347e03d75e058756fd89165e8c6a617aa1988ca7 Mon Sep 17 00:00:00 2001 From: t00thpick1 Date: Mon, 16 Feb 2015 12:09:00 -0500 Subject: [PATCH] When did this break? It was working before. --- src/main/java/com/gmail/nossr50/listeners/PlayerListener.java | 4 +++- 1 file changed, 3 insertions(+), 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 6f546cb63..94985ec6b 100644 --- a/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java @@ -1,5 +1,7 @@ package com.gmail.nossr50.listeners; +import java.util.HashSet; + import org.bukkit.GameMode; import org.bukkit.Material; import org.bukkit.Sound; @@ -236,7 +238,7 @@ public class PlayerListener implements Listener { return; case IN_GROUND: - Block block = player.getTargetBlock(null, 100); + Block block = player.getTargetBlock((HashSet) null, 100); if (fishingManager.canIceFish(block)) { event.setCancelled(true);