Updated versioning to 8.6.1

This commit is contained in:
NavidK0 2015-07-15 08:27:45 -04:00
parent 7301a60aa4
commit ed7d8d0c67
3 changed files with 18 additions and 16 deletions

View File

@ -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'

View File

@ -11,6 +11,7 @@ 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 (!sender.hasPermission("libsdisguises.reload")) {
if (args.length == 0) { if (args.length == 0) {
sender.sendMessage(ChatColor.DARK_GREEN sender.sendMessage(ChatColor.DARK_GREEN
+ "This server is running " + "This server is running "
@ -27,6 +28,7 @@ public class LibsDisguisesCommand implements CommandExecutor {
sender.sendMessage(ChatColor.RED + "[LibsDisguises] That command doesn't exist!"); sender.sendMessage(ChatColor.RED + "[LibsDisguises] That command doesn't exist!");
} }
} }
}
return true; return true;
} }
} }

View File

@ -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]