Re-Add One Plugin At A Time Limit
This commit is contained in:
parent
9b61352c01
commit
ec722e664c
3 changed files with 8 additions and 0 deletions
|
@ -87,6 +87,12 @@ public final class PluginManager
|
|||
*/
|
||||
public static void runPlugin(Plugin newPluginInstance)
|
||||
{
|
||||
if (activePlugin != null && !activePlugin.isFinished())
|
||||
{
|
||||
BytecodeViewer.showMessage(TranslatedStrings.ONE_PLUGIN_AT_A_TIME.toString());
|
||||
return;
|
||||
}
|
||||
|
||||
//reset the console count
|
||||
consoleCount = 0;
|
||||
exceptionCount = 0;
|
||||
|
|
|
@ -77,6 +77,7 @@ public enum TranslatedStrings
|
|||
CLOSE_TAB,
|
||||
PLEASE_SEND_THIS_ERROR_LOG_TO,
|
||||
PLEASE_SEND_RESOURCES,
|
||||
ONE_PLUGIN_AT_A_TIME,
|
||||
|
||||
|
||||
YES,
|
||||
|
|
|
@ -256,6 +256,7 @@
|
|||
"CLOSE_TAB": "Close Tab",
|
||||
"PLEASE_SEND_THIS_ERROR_LOG_TO": "Please send this error log to",
|
||||
"PLEASE_SEND_RESOURCES": "If you hold appropriate legal rights to the relevant class/jar/apk file please include that as well.",
|
||||
"ONE_PLUGIN_AT_A_TIME": "There is currently another plugin running right now, please wait for that to finish executing.",
|
||||
|
||||
|
||||
"FILES": "Files",
|
||||
|
|
Loading…
Reference in a new issue