mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-10 10:20:41 -07:00
Fix player following
This commit is contained in:
parent
bd12800cca
commit
fa604d04bc
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ public abstract class MovementPulse extends Pulse {
|
|||
previousMoverLoc = Location.create(ml);
|
||||
previousMoveTime = getWorldTicks();
|
||||
}
|
||||
else if (getWorldTicks() - previousMoveTime >= 25) {
|
||||
else if (getWorldTicks() - previousMoveTime >= 25 && !(destination instanceof Player)) {
|
||||
if (mover instanceof Player) {
|
||||
((Player) mover).getPacketDispatch().sendMessage("I can't reach that.");
|
||||
PacketRepository.send(ClearMinimapFlag.class, new PlayerContext((Player) mover));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue