mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-24 18:01:26 +02:00
It'd be nice if Ice Fishing actually worked.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user