mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-24 03:25:13 +01:00
Change this back
This commit is contained in:
parent
6d6dec8e7a
commit
2e3df17bcf
@ -62,8 +62,7 @@ public class AStarNavigationStrategy extends AbstractPathStrategy {
|
||||
.playEffect(vector.toLocation(npc.getBukkitEntity().getWorld()), Effect.STEP_SOUND,
|
||||
org.bukkit.Material.STONE.getId());
|
||||
}
|
||||
NMS.setDestination(npc.getBukkitEntity(), vector.getBlockX(), vector.getBlockY() + 2,
|
||||
vector.getBlockZ(), params.speed());
|
||||
NMS.setDestination(npc.getBukkitEntity(), vector.getX(), vector.getY(), vector.getZ(), params.speed());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user