mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-23 23:55:33 +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:
|
case IN_GROUND:
|
||||||
Fish hook = event.getHook();
|
Fish hook = event.getHook();
|
||||||
Block block = hook.getLocation().getBlock();
|
Block block = event.getPlayer().getTargetBlock(null, 100);
|
||||||
|
|
||||||
if (fishingManager.canIceFish(block)) {
|
if (fishingManager.canIceFish(block)) {
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
|
Reference in New Issue
Block a user