Add color to debug msg, fix updater not allowing force check
This commit is contained in:
		| @@ -56,7 +56,8 @@ public class LDDebugPlayer implements LDCommand { | ||||
|                             name.getPlayer().replace(ChatColor.COLOR_CHAR, '&'), name.getTeamName())); | ||||
|  | ||||
|             if (DisguiseConfig.isArmorstandsName()) { | ||||
|                 player.sendMessage("Oh! You're using armorstands! Lets give some debug for that too.."); | ||||
|                 player.sendMessage( | ||||
|                         ChatColor.AQUA + "Oh! You're using armorstands! Lets give some debug for that too.."); | ||||
|                 player.sendMessage(ChatColor.RED + String.format("Names: %s, Length: %s, Custom Name: '%s'", | ||||
|                         new Gson().toJson(disg.getMultiName()).replace(ChatColor.COLOR_CHAR, '&'), | ||||
|                         disg.getMultiNameLength(), | ||||
|   | ||||
| @@ -54,7 +54,7 @@ public class LDUpdate implements LDCommand { | ||||
|             DisguiseConfig.setUsingReleaseBuilds(releaseBuilds); | ||||
|         } | ||||
|  | ||||
|         if (checker.getUpdate() != null && checker.getUpdate().isReleaseBuild() == releaseBuilds) { | ||||
|         if (checker.getUpdate() != null && checker.getUpdate().isReleaseBuild() == releaseBuilds && args.length <= 1) { | ||||
|             if (checker.isServerLatestVersion()) { | ||||
|                 sender.sendMessage(LibsMsg.UPDATE_ON_LATEST.get()); | ||||
|                 return; | ||||
|   | ||||
| @@ -160,7 +160,7 @@ public class UpdateChecker { | ||||
|     } | ||||
|  | ||||
|     public LibsMsg doUpdateCheck() { | ||||
|         downloading.set(false); | ||||
|         downloading.set(true); | ||||
|  | ||||
|         try { | ||||
|             update = null; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user