public class TeleportStuckAction extends Object implements StuckAction
Modifier and Type | Field and Description |
---|---|
static TeleportStuckAction |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
boolean |
run(NPC npc,
Navigator navigator)
Called when the
Navigator reports that it is stuck. |
public static TeleportStuckAction INSTANCE
public boolean run(NPC npc, Navigator navigator)
StuckAction
Navigator
reports that it is stuck.run
in interface StuckAction
npc
- The stuck NPC
navigator
- The navigatorCopyright © 2021. All rights reserved.