mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-01-20 23:31:23 +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>
|
||||
<groupId>com.dumptruckman.minecraft</groupId>
|
||||
<artifactId>buscript</artifactId>
|
||||
<version>1.0</version>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
@ -356,7 +356,7 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core {
|
||||
private void initializeBuscript() {
|
||||
buscript = new Buscript(this);
|
||||
// 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