Update LD premium message
This commit is contained in:
		@@ -50,7 +50,7 @@ public abstract class DisguiseBaseCommand implements CommandExecutor {
 | 
				
			|||||||
    protected boolean isNotPremium(CommandSender sender) {
 | 
					    protected boolean isNotPremium(CommandSender sender) {
 | 
				
			||||||
        if (sender instanceof Player && !sender.isOp() &&
 | 
					        if (sender instanceof Player && !sender.isOp() &&
 | 
				
			||||||
                (!LibsPremium.isPremium() || LibsPremium.getPaidInformation() == LibsPremium.getPluginInformation())) {
 | 
					                (!LibsPremium.isPremium() || LibsPremium.getPaidInformation() == LibsPremium.getPluginInformation())) {
 | 
				
			||||||
            sender.sendMessage(ChatColor.RED + "Please purchase Lib's Disguises to enable player commands");
 | 
					            sender.sendMessage(ChatColor.RED + "This is the free version of Lib's Disguises, player commands are limited to console and Operators only! Purchase the plugin for non-admin usage!");
 | 
				
			||||||
            return true;
 | 
					            return true;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -16,7 +16,7 @@ public class UndisguiseCommand implements CommandExecutor {
 | 
				
			|||||||
    public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
 | 
					    public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
 | 
				
			||||||
        if (sender instanceof Player && !sender.isOp() &&
 | 
					        if (sender instanceof Player && !sender.isOp() &&
 | 
				
			||||||
                (!LibsPremium.isPremium() || LibsPremium.getPaidInformation() == LibsPremium.getPluginInformation())) {
 | 
					                (!LibsPremium.isPremium() || LibsPremium.getPaidInformation() == LibsPremium.getPluginInformation())) {
 | 
				
			||||||
            sender.sendMessage(ChatColor.RED + "Please purchase Lib's Disguises to enable player commands");
 | 
					            sender.sendMessage(ChatColor.RED + "This is the free version of Lib's Disguises, player commands are limited to console and Operators only! Purchase the plugin for non-admin usage!");
 | 
				
			||||||
            return true;
 | 
					            return true;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -16,7 +16,7 @@ public class UndisguiseEntityCommand implements CommandExecutor {
 | 
				
			|||||||
    public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
 | 
					    public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
 | 
				
			||||||
        if (sender instanceof Player && !sender.isOp() &&
 | 
					        if (sender instanceof Player && !sender.isOp() &&
 | 
				
			||||||
                (!LibsPremium.isPremium() || LibsPremium.getPaidInformation() == LibsPremium.getPluginInformation())) {
 | 
					                (!LibsPremium.isPremium() || LibsPremium.getPaidInformation() == LibsPremium.getPluginInformation())) {
 | 
				
			||||||
            sender.sendMessage(ChatColor.RED + "Please purchase Lib's Disguises to enable player commands");
 | 
					            sender.sendMessage(ChatColor.RED + "This is the free version of Lib's Disguises, player commands are limited to console and Operators only! Purchase the plugin for non-admin usage!");
 | 
				
			||||||
            return true;
 | 
					            return true;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -57,7 +57,7 @@ public class UndisguisePlayerCommand implements CommandExecutor, TabCompleter {
 | 
				
			|||||||
    public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
 | 
					    public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
 | 
				
			||||||
        if (sender instanceof Player && !sender.isOp() &&
 | 
					        if (sender instanceof Player && !sender.isOp() &&
 | 
				
			||||||
                (!LibsPremium.isPremium() || LibsPremium.getPaidInformation() == LibsPremium.getPluginInformation())) {
 | 
					                (!LibsPremium.isPremium() || LibsPremium.getPaidInformation() == LibsPremium.getPluginInformation())) {
 | 
				
			||||||
            sender.sendMessage(ChatColor.RED + "Please purchase Lib's Disguises to enable player commands");
 | 
					            sender.sendMessage(ChatColor.RED + "This is the free version of Lib's Disguises, player commands are limited to console and Operators only! Purchase the plugin for non-admin usage!");
 | 
				
			||||||
            return true;
 | 
					            return true;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -33,7 +33,7 @@ public class UndisguiseRadiusCommand implements CommandExecutor {
 | 
				
			|||||||
    public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
 | 
					    public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
 | 
				
			||||||
        if (sender instanceof Player && !sender.isOp() &&
 | 
					        if (sender instanceof Player && !sender.isOp() &&
 | 
				
			||||||
                (!LibsPremium.isPremium() || LibsPremium.getPaidInformation() == LibsPremium.getPluginInformation())) {
 | 
					                (!LibsPremium.isPremium() || LibsPremium.getPaidInformation() == LibsPremium.getPluginInformation())) {
 | 
				
			||||||
            sender.sendMessage(ChatColor.RED + "Please purchase Lib's Disguises to enable player commands");
 | 
					            sender.sendMessage(ChatColor.RED + "This is the free version of Lib's Disguises, player commands are limited to console and Operators only! Purchase the plugin for non-admin usage!");
 | 
				
			||||||
            return true;
 | 
					            return true;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -33,7 +33,7 @@ public class CopyDisguiseCommand implements CommandExecutor {
 | 
				
			|||||||
    public boolean onCommand(CommandSender sender, Command command, String s, String[] args) {
 | 
					    public boolean onCommand(CommandSender sender, Command command, String s, String[] args) {
 | 
				
			||||||
        if (sender instanceof Player && !sender.isOp() &&
 | 
					        if (sender instanceof Player && !sender.isOp() &&
 | 
				
			||||||
                (!LibsPremium.isPremium() || LibsPremium.getPaidInformation() == LibsPremium.getPluginInformation())) {
 | 
					                (!LibsPremium.isPremium() || LibsPremium.getPaidInformation() == LibsPremium.getPluginInformation())) {
 | 
				
			||||||
            sender.sendMessage(ChatColor.RED + "Please purchase Lib's Disguises to enable player commands");
 | 
					            sender.sendMessage(ChatColor.RED + "This is the free version of Lib's Disguises, player commands are limited to console and Operators only! Purchase the plugin for non-admin usage!");
 | 
				
			||||||
            return true;
 | 
					            return true;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -28,7 +28,7 @@ public class GrabHeadCommand implements CommandExecutor {
 | 
				
			|||||||
    public boolean onCommand(CommandSender sender, Command command, String s, String[] strings) {
 | 
					    public boolean onCommand(CommandSender sender, Command command, String s, String[] strings) {
 | 
				
			||||||
        if (sender instanceof Player && !sender.isOp() &&
 | 
					        if (sender instanceof Player && !sender.isOp() &&
 | 
				
			||||||
                (!LibsPremium.isPremium() || LibsPremium.getPaidInformation() == LibsPremium.getPluginInformation())) {
 | 
					                (!LibsPremium.isPremium() || LibsPremium.getPaidInformation() == LibsPremium.getPluginInformation())) {
 | 
				
			||||||
            sender.sendMessage(ChatColor.RED + "Please purchase Lib's Disguises to enable player commands");
 | 
					            sender.sendMessage(ChatColor.RED + "This is the free version of Lib's Disguises, player commands are limited to console and Operators only! Purchase the plugin for non-admin usage!");
 | 
				
			||||||
            return true;
 | 
					            return true;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -30,7 +30,7 @@ public class GrabSkinCommand implements CommandExecutor {
 | 
				
			|||||||
    public boolean onCommand(CommandSender sender, Command command, String s, String[] strings) {
 | 
					    public boolean onCommand(CommandSender sender, Command command, String s, String[] strings) {
 | 
				
			||||||
        if (sender instanceof Player && !sender.isOp() &&
 | 
					        if (sender instanceof Player && !sender.isOp() &&
 | 
				
			||||||
                (!LibsPremium.isPremium() || LibsPremium.getPaidInformation() == LibsPremium.getPluginInformation())) {
 | 
					                (!LibsPremium.isPremium() || LibsPremium.getPaidInformation() == LibsPremium.getPluginInformation())) {
 | 
				
			||||||
            sender.sendMessage(ChatColor.RED + "Please purchase Lib's Disguises to enable player commands");
 | 
					            sender.sendMessage(ChatColor.RED + "This is the free version of Lib's Disguises, player commands are limited to console and Operators only! Purchase the plugin for non-admin usage!");
 | 
				
			||||||
            return true;
 | 
					            return true;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -30,7 +30,7 @@ public class SaveDisguiseCommand implements CommandExecutor {
 | 
				
			|||||||
    public boolean onCommand(CommandSender sender, Command command, String s, String[] strings) {
 | 
					    public boolean onCommand(CommandSender sender, Command command, String s, String[] strings) {
 | 
				
			||||||
        if (sender instanceof Player && !sender.isOp() &&
 | 
					        if (sender instanceof Player && !sender.isOp() &&
 | 
				
			||||||
                (!LibsPremium.isPremium() || LibsPremium.getPaidInformation() == LibsPremium.getPluginInformation())) {
 | 
					                (!LibsPremium.isPremium() || LibsPremium.getPaidInformation() == LibsPremium.getPluginInformation())) {
 | 
				
			||||||
            sender.sendMessage(ChatColor.RED + "Please purchase Lib's Disguises to enable player commands");
 | 
					            sender.sendMessage(ChatColor.RED + "This is the free version of Lib's Disguises, player commands are limited to console and Operators only! Purchase the plugin for non-admin usage!");
 | 
				
			||||||
            return true;
 | 
					            return true;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user