Skip to content

Commit

Permalink
When did this break? It was working before.
Browse files Browse the repository at this point in the history
  • Loading branch information
t00thpick1 committed Feb 16, 2015
1 parent 8543382 commit 347e03d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -236,7 +238,7 @@ public void onPlayerFishHighest(PlayerFishEvent event) {
return;

case IN_GROUND:
Block block = player.getTargetBlock(null, 100);
Block block = player.getTargetBlock((HashSet<Byte>) null, 100);

if (fishingManager.canIceFish(block)) {
event.setCancelled(true);
Expand Down

0 comments on commit 347e03d

Please sign in to comment.