mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-28 05:45:10 -06:00
fix stray dogs
This commit is contained in:
parent
3edce27449
commit
59edcb5c4f
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ public class StrayDogNPC extends AbstractNPC {
|
|||
target = null;
|
||||
players = RegionManager.getLocalPlayers(location, 7);
|
||||
if (players.size() != 0) {
|
||||
Player target = players.get(RandomFunction.random(players.size()));
|
||||
target = players.get(RandomFunction.random(players.size()));
|
||||
getPulseManager().run(getFollowPulse(target), PulseType.STANDARD);
|
||||
delay = System.currentTimeMillis() + 150000;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue