mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-02-01 13:11:22 +01:00
Updated to Buscript 2.0.
This reduces the size of the plugin jar by over ONE MEGABYTE!!
(cherry picked from commit 2ed59a866f
)
This commit is contained in:
parent
1105aa12c8
commit
e79a49f7de
2
pom.xml
2
pom.xml
@ -302,7 +302,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
Block a user