Updated to Buscript 2.0.
This reduces the size of the plugin jar by over ONE MEGABYTE!!
This commit is contained in:
parent
41b3096600
commit
2ed59a866f
2
pom.xml
2
pom.xml
|
@ -307,7 +307,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.dumptruckman.minecraft</groupId>
|
<groupId>com.dumptruckman.minecraft</groupId>
|
||||||
<artifactId>buscript</artifactId>
|
<artifactId>buscript</artifactId>
|
||||||
<version>1.0</version>
|
<version>2.0-SNAPSHOT</version>
|
||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
|
@ -356,7 +356,7 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core {
|
||||||
private void initializeBuscript() {
|
private void initializeBuscript() {
|
||||||
buscript = new Buscript(this);
|
buscript = new Buscript(this);
|
||||||
// Add global variable "multiverse" to javascript environment
|
// Add global variable "multiverse" to javascript environment
|
||||||
buscript.getGlobalScope().put("multiverse", buscript.getGlobalScope(), this);
|
buscript.setScriptVariable("multiverse", this);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue