mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-12-28 20:07:55 +01:00
commit
62f6366240
7
pom.xml
7
pom.xml
@ -251,6 +251,13 @@
|
||||
<scope>system</scope>
|
||||
<systemPath>${project.basedir}/lib/Dosh.jar</systemPath>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.zathrus_writer.commandsex</groupId>
|
||||
<artifactId>CommandsEX</artifactId>
|
||||
<version>1.98</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${project.basedir}/lib/CommandsEx.jar</systemPath>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<resources>
|
||||
|
@ -31,7 +31,7 @@ public class Economy_CommandsEX implements Economy {
|
||||
Bukkit.getServer().getPluginManager().registerEvents(new EconomyServerListener(this), plugin);
|
||||
|
||||
if (economy == null) {
|
||||
Plugin commandsex = plugin.getServer().getPluginManager().getPlugin("Essentials");
|
||||
Plugin commandsex = plugin.getServer().getPluginManager().getPlugin("CommandsEx");
|
||||
|
||||
if (commandsex != null && commandsex.isEnabled()) {
|
||||
economy = (CommandsEX) commandsex;
|
||||
|
Loading…
Reference in New Issue
Block a user