forked from Upstream/mmocore
Fixed last of the MemorySection command bugs
This commit is contained in:
parent
f3ff917cb9
commit
b47e1eb334
@ -300,8 +300,8 @@ public class MMOCore extends JavaPlugin {
|
||||
commandMap.register("mmocore", new PartyCommand(config.getConfigurationSection("party")));
|
||||
|
||||
if (hasEconomy() && economy.isValid()) {
|
||||
commandMap.register(config.getString("withdraw"), new WithdrawCommand(config.getConfigurationSection("withdraw")));
|
||||
commandMap.register(config.getString("deposit"), new DepositCommand(config.getConfigurationSection("deposit")));
|
||||
commandMap.register("mmocore", new WithdrawCommand(config.getConfigurationSection("withdraw")));
|
||||
commandMap.register("mmocore", new DepositCommand(config.getConfigurationSection("deposit")));
|
||||
}
|
||||
}
|
||||
catch(NoSuchFieldException | IllegalArgumentException | IllegalAccessException ex) {
|
||||
|
Loading…
Reference in New Issue
Block a user