Fix update again and fix bug in placeholders
This commit is contained in:
		| @@ -40,8 +40,8 @@ public class LDUpdate implements LDCommand { | |||||||
|         } |         } | ||||||
|  |  | ||||||
|         boolean releaseBuilds = checker.isUsingReleaseBuilds(); |         boolean releaseBuilds = checker.isUsingReleaseBuilds(); | ||||||
|         boolean wantsDownload = args[0].endsWith("!"); |  | ||||||
|         boolean wantsCheck = args[0].endsWith("?"); |         boolean wantsCheck = args[0].endsWith("?"); | ||||||
|  |         boolean wantsDownload = args[0].endsWith("!") || !wantsCheck; | ||||||
|  |  | ||||||
|         if (args.length > 1) { |         if (args.length > 1) { | ||||||
|             boolean previous = releaseBuilds; |             boolean previous = releaseBuilds; | ||||||
|   | |||||||
| @@ -479,9 +479,9 @@ public class DisguiseParser { | |||||||
|  |  | ||||||
|                 String name = p.getName(); |                 String name = p.getName(); | ||||||
|  |  | ||||||
|                 arg = replace(arg, "%" + name + "-name%", targetName); |                 arg = replace(arg, "%" + name + "-name%", name); | ||||||
|                 arg = replace(arg, "%" + name + "-displayname%", targetDisplayname); |                 arg = replace(arg, "%" + name + "-displayname%", DisguiseUtilities.getDisplayName(p)); | ||||||
|                 arg = replace(arg, "%" + name + "-skin%", targetSkin); |                 arg = replace(arg, "%" + name + "-skin%", getSkin(p)); | ||||||
|  |  | ||||||
|                 EntityEquipment pEquip = p.getEquipment(); |                 EntityEquipment pEquip = p.getEquipment(); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user