Skip to content

Commit

Permalink
fix: Don't include vertical slabs in slab dump TwelveIterationMods/Ba…
Browse files Browse the repository at this point in the history
  • Loading branch information
BlayTheNinth committed Jan 16, 2025
1 parent 498c32d commit 620f11a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static void onServerStarted(ServerStartedEvent event) {
public static void dumpSlabs() {
Map<String, List<ResourceLocation>> slabsByMod = BuiltInRegistries.BLOCK.keySet()
.stream()
.filter(itemName -> itemName.getPath().endsWith("_slab"))
.filter(itemName -> itemName.getPath().endsWith("_slab") && !itemName.getPath().contains("vertical"))
.collect(Collectors.groupingBy(ResourceLocation::getNamespace));

for (Map.Entry<String, List<ResourceLocation>> slabs : slabsByMod.entrySet()) {
Expand Down

0 comments on commit 620f11a

Please sign in to comment.