File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
src/main/java/org/mangorage/mangobotplugin/commands/trick Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ MangoBotConfig {
3939 setJarTask(jar)
4040 addRunConfig {
4141 it. setName(" runDevBot" )
42+ it. addArgs(" --launchTarget" , " mangobot" )
4243 it. addArgs(" --dev" )
4344 }
4445}
@@ -71,8 +72,8 @@ dependencies {
7172
7273 installer(' org.mangorage:installer:4.0.20' )
7374
74- bootstrap(" org.mangorage:mangobotbootstrap:1.0.36 " )
75- plugin(' org.mangorage:mangobot:12.0.66 ' )
75+ bootstrap(" org.mangorage:mangobotbootstrap:1.0.43 " )
76+ plugin(' org.mangorage:mangobot:12.0.72 ' )
7677
7778 library(' org.slf4j:slf4j-simple:2.0.13' ) // Use a recent version)
7879 library(' org.luaj:luaj-jme:3.0.1' )
Original file line number Diff line number Diff line change 3030import org .luaj .vm2 .LuaTable ;
3131import org .luaj .vm2 .LuaValue ;
3232import org .luaj .vm2 .compiler .LuaC ;
33- import org .luaj .vm2 .lib .BaseLib ;
34- import org .luaj .vm2 .lib .MathLib ;
35- import org .luaj .vm2 .lib .PackageLib ;
3633import org .mangorage .mangobotplugin .commands .trick .lua .LuaJDA ;
3734import org .mangorage .mangobotplugin .commands .trick .lua .internal .CoerceJavaToLua ;
3835import org .mangorage .mangobotplugin .commands .trick .lua .objects .LuaStringArray ;
@@ -57,9 +54,7 @@ public TrickScriptable(MangoBot plugin) {
5754 public Globals sandBoxedGlobals () {
5855 Globals server_globals = new Globals ();
5956
60- server_globals .load (new BaseLib ());
61- server_globals .load (new MathLib ());
62- server_globals .load (new PackageLib ());
57+
6358
6459 LoadState .install (server_globals );
6560 LuaC .install (server_globals );
You can’t perform that action at this time.
0 commit comments