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