Fixed destroyblocks objective
This commit is contained in:
@@ -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")
|
||||
);
|
||||
};
|
||||
}};
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user