mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-09-15 08:28:10 +02:00
Forgot to rename this one.
This commit is contained in:
parent
9ba173b82e
commit
f650a48cad
@ -44,7 +44,7 @@ public class CheckUtils {
|
|||||||
* the precision
|
* the precision
|
||||||
* @return
|
* @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 Location loc = player.getLocation();
|
||||||
final Vector dir = loc.getDirection();
|
final Vector dir = loc.getDirection();
|
||||||
|
Loading…
Reference in New Issue
Block a user