5657585960616263
public void restartAtIndex() { WaypointPath path = getNPC().getWaypoints(); if (path.size() == 0) return; path.setIndex(index); getNPC().teleport(path.current().getLocation()); } }