mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-18 10:18:07 +00:00
hit a wall
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "stdafx.h"
|
||||
|
||||
#include "../../Minecraft.h"
|
||||
#include "../../MultiplayerLocalPlayer.h"
|
||||
#include "../../MultiPlayerLocalPlayer.h"
|
||||
#include "AreaConstraint.h"
|
||||
#include "../../../Minecraft.World/AABB.h"
|
||||
|
||||
@@ -49,4 +49,4 @@ bool AreaConstraint::canMoveToPosition(double xo, double yo, double zo, double x
|
||||
double currDist = origPos->distanceTo(movementArea);
|
||||
double targetDist = targetPos->distanceTo(movementArea);
|
||||
return targetDist < currDist;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user