Skip to content

Commit

Permalink
only show "source plugin" section if mapping is proposed
Browse files Browse the repository at this point in the history
  • Loading branch information
ix0rai committed Mar 24, 2024
1 parent e800790 commit 523e360
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ public void refreshReference() {
throw new IllegalStateException("unreachable");
}

if (Config.main().development.showMappingSourcePlugin.value()) {
var mapping = this.gui.getController().getProject().getRemapper().getMapping(this.entry);
var mapping = this.gui.getController().getProject().getRemapper().getMapping(this.entry);
if (Config.main().development.showMappingSourcePlugin.value() && mapping.tokenType().isProposed()) {
th.addStringRow(I18n.translate("dev.source_plugin"), mapping.sourcePluginId());
}
}
Expand Down

0 comments on commit 523e360

Please sign in to comment.