Skip to content

Commit

Permalink
Fix issue #13
Browse files Browse the repository at this point in the history
  • Loading branch information
Ale32bit committed Jan 5, 2025
1 parent 871878e commit 3f70e16
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public Locator(ServerPlayerEntity player, ServerWorld world, RTPConfig config) {
public void locate(Consumer<Result> callback) {
this.callback = callback;
stopwatch.start();
Solstice.scheduler.schedule(() -> this.attempt(config.attempts), 0, TimeUnit.MILLISECONDS);
attempt(config.attempts);
}

private void attempt(int remainingAttempts) {
Expand Down

0 comments on commit 3f70e16

Please sign in to comment.