Skip to content

Commit 8b11fd6

Browse files
committed
Remove a redundant entry
1 parent eda325f commit 8b11fd6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/main/java/com/hlysine/create_power_loader/command/SummaryCommand.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,17 +100,14 @@ private static void genSummary(@Nullable LoaderMode mode,
100100
if (mode == LoaderMode.CONTRAPTION || mode == null) {
101101
chat.accept("", white);
102102
chat.accept("Contraption chunk loaders", white);
103-
int contraptions = 0;
104103
int nonTrain = 0;
105104
Set<ChunkLoadManager.LoadedChunkPos> chunks = new HashSet<>();
106105
for (ChunkLoader loader : loaders) {
107106
if (loader instanceof ChunkLoaderMovementBehaviour.SavedState state) {
108-
contraptions++;
109107
if (!state.isTrain) nonTrain++;
110108
chunks.addAll(state.forcedChunks);
111109
}
112110
}
113-
chatRaw.accept(line("Total contraptions", contraptions));
114111
chatRaw.accept(line("Non-train contraptions", nonTrain));
115112
chatRaw.accept(line("Loaded chunks", chunks.size()));
116113
}

0 commit comments

Comments
 (0)