Skip to content

Commit

Permalink
Update AssaultRepair.java
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerS1066 committed Jul 25, 2024
1 parent 75ea90b commit 8abca5b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package net.countercraft.movecraft.warfare.features.assault;

import net.countercraft.movecraft.MovecraftLocation;
import net.countercraft.movecraft.repair.MovecraftRepair;
import net.countercraft.movecraft.repair.util.WarfareUtils;
import net.countercraft.movecraft.util.Pair;
import net.countercraft.movecraft.warfare.MovecraftWarfare;
Expand Down Expand Up @@ -54,6 +55,7 @@ public boolean repairRegionRepairState(World world, String regionName, @Nullable

ChunkRepairTask repairTask = new ChunkRepairTask(world, regionName, chunks, saveDirectory, regionTester, player);
repairTask.runTaskTimer(MovecraftWarfare.getInstance(), 2, Config.AssaultChunkRepairPeriod);
MovecraftRepair.getInstance().getLogger().info("Repairing region " + regionName + " in " + world.getName() + (player != null ? " for " + player.getName() : ""));
return true;
}

Expand Down

0 comments on commit 8abca5b

Please sign in to comment.