= Updated plugin subsystem formatting

This commit is contained in:
Matthew Cech
2019-06-19 20:05:23 -07:00
parent 51e40610a2
commit c7ad59b755
5 changed files with 24 additions and 21 deletions
+4 -4
View File
@@ -44,17 +44,17 @@ public class Plugin
}
catch (IOException e)
{
PluginLog.Error(e.getMessage());
PluginLog.error(e.getMessage());
}
}
public List<String> Run(String args, PluginUser user)
public List<String> run(String args, PluginUser user)
{
try
{
List<String> outputs = new Vector<String>();
LuaValue res = func_plugin.call(LuaValue.valueOf(args), user.AsLua());
LuaValue res = func_plugin.call(LuaValue.valueOf(args), user.asLua());
if(!res.isnil())
{
@@ -87,7 +87,7 @@ public class Plugin
}
catch(Exception e)
{
PluginLog.Error("Failed to run plugin from file " + filepath);
PluginLog.error("Failed to run plugin from file " + filepath);
}
return null;