Skip to content

Commit

Permalink
Arrive check wait time
Browse files Browse the repository at this point in the history
  • Loading branch information
Niroxbtw authored Apr 24, 2023
1 parent ea0d39c commit c70fd66
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ public void onTick(TickEvent.Phase phase) {
}
break;
case ARRIVE_CHECK:
if (nextActionDelay.hasReached(300)) {
if (nextActionDelay.hasReached(MightyMiner.config.commArriveWaitTime)) {
// Checking if player arrived at warp destination
LogUtils.debugLog("Checking if player arrived at warp destination");
if (BlockUtils.getPlayerLoc().down().equals((Object) currentWarpDestination)) {
Expand Down Expand Up @@ -1608,7 +1608,7 @@ public void onTick(TickEvent.Phase phase) {
}
break;
case ARRIVE_CHECK:
if (nextActionDelay.hasReached(300)) {
if (nextActionDelay.hasReached(MightyMiner.config.commArriveWaitTime)) {
// Checking if player arrived at warp destination
LogUtils.debugLog("Checking if player arrived at warp destination");
if (BlockUtils.getPlayerLoc().down().equals((Object) currentWarpDestination)) {
Expand Down

0 comments on commit c70fd66

Please sign in to comment.