Interacting with fishing spots on diagonals should no longer fail

This commit is contained in:
dam
2026-04-01 17:50:08 +03:00
committed by Ryan
parent 595758dbfd
commit 6ffe0aa78c
@@ -152,7 +152,7 @@ class FishingListener : InteractionListener{
}
return false
}
return node.isActive && node.location.withinDistance(player.location, 1)
return node.isActive && node.location.withinMaxnormDistance(player.location, 1)
}