Fixed destroyblocks objective

This commit is contained in:
Anuken
2022-04-28 14:52:51 -04:00
parent fe4b32be1f
commit 293311087d
3 changed files with 7 additions and 7 deletions

View File

@@ -207,11 +207,11 @@ public class SectorPresets{
rules = r -> {
r.objectives.addAll(
new DestroyBlocksObjective(Blocks.coreBastion, Team.malis, Point2.pack(290,501), Point2.pack(158,496)),
new TimerObjective("[accent]⚠ Nuclear launch detected:\n[lightgray]{0}", 4 * 60 * 60).withMarkers(
new TextMarker("Evacuate base", 1, 1),
new MinimapMarker(338,378, Pal.remove)
).withFlags("nuke1")
new DestroyBlocksObjective(Blocks.coreBastion, Team.malis, Point2.pack(290,501), Point2.pack(158,496)),
new TimerObjective("[accent]⚠ Nuclear launch detected:\n[lightgray]{0}", 4 * 60 * 60).withMarkers(
new TextMarker("Evacuate base", 1, 1),
new MinimapMarker(338,378, Pal.remove)
).withFlags("nuke1")
);
};
}};

View File

@@ -308,7 +308,7 @@ public class MapObjectives{
@Override
public String text(){
return Core.bundle.format("objective.destroyblocks", positions, positions.length, block.emoji(), block.localizedName);
return Core.bundle.format("objective.destroyblocks", progress(), positions.length, block.emoji(), block.localizedName);
}
}