Skip to content

Commit

Permalink
Codechange: Make ClientVars building-type seqs unordered
Browse files Browse the repository at this point in the history
  • Loading branch information
zxtej committed Dec 28, 2024
1 parent dede7f7 commit c0a5e5c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions core/src/mindustry/client/ClientVars.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,9 @@ public class ClientVars {
dispatchingBuildPlans,
showingOverdrives,
showingMassDrivers;
@NotNull public static Seq<OverdriveProjector.OverdriveBuild> overdrives = new Seq<>(); // For whatever reason the stupid allBuildings method hates me so im just not using it FINISHME: Replace this by just expanding block clipsize and drawing a circle in the draw method rather than using this
@NotNull public static Seq<MassDriver.MassDriverBuild> massDrivers = new Seq<>(); // FINISHME: this too.
@NotNull public static Seq<PayloadMassDriver.PayloadDriverBuild> payloadMassDrivers = new Seq<>(); // i literally just copypasted the code

@NotNull public static Seq<OverdriveProjector.OverdriveBuild> overdrives = new Seq<>(false); // For whatever reason the stupid allBuildings method hates me so im just not using it FINISHME: Replace this by just expanding block clipsize and drawing a circle in the draw method rather than using this
@NotNull public static Seq<MassDriver.MassDriverBuild> massDrivers = new Seq<>(false); // FINISHME: this too.
@NotNull public static Seq<PayloadMassDriver.PayloadDriverBuild> payloadMassDrivers = new Seq<>(false); // i literally just copypasted the code
// Commands
@NotNull public static CommandHandler clientCommandHandler = new CommandHandler(Core.settings.getString("fooprefix", "!"));
@NotNull public static final ObjectMap<Character, Seq<Pair<String, Prov<String>>>> containsCommandHandler = new ObjectMap<>(); // Currently a naive implementation which just replaces all occurrences
Expand Down

0 comments on commit c0a5e5c

Please sign in to comment.