0.5.0 bis
Some world management system with multiverse. Also beginning to use dungeons/gates. Need to build maps to use in dungeons.
This commit is contained in:
parent
10c66d6fa4
commit
26cf701494
20 changed files with 300 additions and 77 deletions
24
src/main/java/gq/unurled/raxen/utils/libs/Multiverse.java
Normal file
24
src/main/java/gq/unurled/raxen/utils/libs/Multiverse.java
Normal file
|
@ -0,0 +1,24 @@
|
|||
package gq.unurled.raxen.utils.libs;
|
||||
|
||||
import com.onarandombox.MultiverseCore.MultiverseCore;
|
||||
import com.onarandombox.MultiverseCore.api.MVWorldManager;
|
||||
import org.bukkit.Bukkit;
|
||||
|
||||
public class Multiverse {
|
||||
|
||||
private MultiverseCore core;
|
||||
private MVWorldManager worldManager;
|
||||
|
||||
public Multiverse() {
|
||||
this.worldManager = core.getMVWorldManager();
|
||||
this.core = (MultiverseCore) Bukkit.getServer().getPluginManager().getPlugin("Multiverse-Core");
|
||||
}
|
||||
|
||||
public MVWorldManager getWorldManager() {
|
||||
return worldManager;
|
||||
}
|
||||
|
||||
public MultiverseCore getMultiverseCore() {
|
||||
return core;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue