mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-02-17 12:51:31 +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,
|
.playEffect(vector.toLocation(npc.getBukkitEntity().getWorld()), Effect.STEP_SOUND,
|
||||||
org.bukkit.Material.STONE.getId());
|
org.bukkit.Material.STONE.getId());
|
||||||
}
|
}
|
||||||
NMS.setDestination(npc.getBukkitEntity(), vector.getBlockX(), vector.getBlockY() + 2,
|
NMS.setDestination(npc.getBukkitEntity(), vector.getX(), vector.getY(), vector.getZ(), params.speed());
|
||||||
vector.getBlockZ(), params.speed());
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user