mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-13 19:11:22 +01:00
Forgot to rename this one.
This commit is contained in:
parent
9ba173b82e
commit
f650a48cad
@ -44,7 +44,7 @@ public class CheckUtils {
|
||||
* the precision
|
||||
* @return
|
||||
*/
|
||||
public static double directionCheck2(final Player player, final double targetX, final double targetY, final double targetZ, final double targetWidth, final double targetHeight, final double precision)
|
||||
public static double directionCheck(final Player player, final double targetX, final double targetY, final double targetZ, final double targetWidth, final double targetHeight, final double precision)
|
||||
{
|
||||
final Location loc = player.getLocation();
|
||||
final Vector dir = loc.getDirection();
|
||||
|
Loading…
Reference in New Issue
Block a user