Plugin Console Bugfix

This commit is contained in:
Konloch 2021-07-21 06:14:49 -07:00
parent 6a121dd9e1
commit 18e1c101fd
1 changed files with 5 additions and 1 deletions

View File

@ -131,7 +131,11 @@ public final class PluginManager
}
console.setConsoleID(id);
activeTabbedConsole.addConsole(console.getComponent(0), activePlugin.activeContainer.name);
final String name = (activePlugin == null || activePlugin.activeContainer == null)
? console.getTitle() : activePlugin.activeContainer.name;
activeTabbedConsole.addConsole(console.getComponent(0), name);
}
public static void register(String name, PluginLaunchStrategy strat) {