Skip to content

Commit

Permalink
Add WorldEdit to whitelisted mods
Browse files Browse the repository at this point in the history
  • Loading branch information
MaidThatPrograms committed Feb 14, 2021
1 parent 60e7519 commit d3a3428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/cmsc389e/circuitry/client/EventHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public static void onGuiOpenEvent(final GuiOpenEvent event) throws IllegalAccess
if (gui instanceof MainMenuScreen) {
final ModList list = ModList.get();

final Set<String> allowed = ImmutableSet.of(Circuitry.MODID, ForgeVersion.MOD_ID, "minecraft");
final Set<String> allowed = ImmutableSet.of(Circuitry.MODID, ForgeVersion.MOD_ID, "minecraft", "worldedit");
final String mods = list.applyForEachModContainer(ModContainer::getModInfo).parallel()
.filter(info -> !allowed.contains(info.getModId())).map(IModInfo::getDisplayName)
.collect(Collectors.joining(", "));
Expand Down

0 comments on commit d3a3428

Please sign in to comment.