Updated versioning to 8.6.1
This commit is contained in:
		| @@ -13,7 +13,7 @@ println 'Compiling LibsDisguises via Gradle ver. ' + gradle.gradleVersion | |||||||
| sourceCompatibility = '1.7' | sourceCompatibility = '1.7' | ||||||
| ext.spigotVersion = '1.8.7-R0.1-SNAPSHOT' | ext.spigotVersion = '1.8.7-R0.1-SNAPSHOT' | ||||||
|  |  | ||||||
| ext.disguisesVersion = '8.6' | ext.disguisesVersion = '8.6.1' | ||||||
|  |  | ||||||
| [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' | [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' | ||||||
|  |  | ||||||
|   | |||||||
| @@ -11,20 +11,22 @@ public class LibsDisguisesCommand implements CommandExecutor { | |||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|     public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) { |     public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) { | ||||||
|         if (args.length == 0) { |         if (!sender.hasPermission("libsdisguises.reload")) { | ||||||
|             sender.sendMessage(ChatColor.DARK_GREEN |             if (args.length == 0) { | ||||||
|                     + "This server is running " |                 sender.sendMessage(ChatColor.DARK_GREEN | ||||||
|                     + "Lib's Disguises v." |                         + "This server is running " | ||||||
|                     + Bukkit.getPluginManager().getPlugin("LibsDisguises").getDescription().getVersion() |                         + "Lib's Disguises v." | ||||||
|                     + " by libraryaddict, maintained by NavidK0.\n" |                         + Bukkit.getPluginManager().getPlugin("LibsDisguises").getDescription().getVersion() | ||||||
|                     + "Use /libsdisguises reload to reload the config. All disguises will be blown by doing this."); |                         + " by libraryaddict, maintained by NavidK0.\n" | ||||||
|         } else if (args.length > 0) { |                         + "Use /libsdisguises reload to reload the config. All disguises will be blown by doing this."); | ||||||
|             if (args[0].equalsIgnoreCase("reload")) { |             } else if (args.length > 0) { | ||||||
|                 LibsDisguises.instance.reload(); |                 if (args[0].equalsIgnoreCase("reload")) { | ||||||
|                 sender.sendMessage(ChatColor.GREEN + "[LibsDisguises] Reloaded config."); |                     LibsDisguises.instance.reload(); | ||||||
|                 return true; |                     sender.sendMessage(ChatColor.GREEN + "[LibsDisguises] Reloaded config."); | ||||||
|             } else { |                     return true; | ||||||
|                 sender.sendMessage(ChatColor.RED + "[LibsDisguises] That command doesn't exist!"); |                 } else { | ||||||
|  |                     sender.sendMessage(ChatColor.RED + "[LibsDisguises] That command doesn't exist!"); | ||||||
|  |                 } | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|         return true; |         return true; | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| name: LibsDisguises | name: LibsDisguises | ||||||
| main: me.libraryaddict.disguise.LibsDisguises | main: me.libraryaddict.disguise.LibsDisguises | ||||||
| version: 8.6 | version: 8.6.1 | ||||||
| author: libraryaddict | author: libraryaddict | ||||||
| authors: [Byteflux, Navid K.] | authors: [Byteflux, Navid K.] | ||||||
| depend: [ProtocolLib] | depend: [ProtocolLib] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user