Make command usage send with the correct label & bump version

This commit is contained in:
Luck
2016-07-17 14:44:52 +01:00
Unverified
parent d33a3ffcea
commit 24ff465679
60 changed files with 146 additions and 144 deletions
@@ -23,7 +23,7 @@ import java.util.stream.Collectors;
@Getter
public class LPBungeePlugin extends Plugin implements LuckPermsPlugin {
public static final String VERSION = "v1.0";
public static final String VERSION = "v1.1";
private LPConfiguration configuration;
private UserManager userManager;
@@ -41,6 +41,9 @@ public class LPBungeePlugin extends Plugin implements LuckPermsPlugin {
// register commands
getProxy().getPluginManager().registerCommand(this, new MainCommand(new CommandManager(this)));
// disable the default Bungee /perms command so it gets handled by the Bukkit plugin
getProxy().getDisabledCommands().add("perms");
final String storageMethod = configuration.getStorageMethod();
if (storageMethod.equalsIgnoreCase("mysql")) {