mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-12 03:57:03 +00:00
Fix update again and fix bug in placeholders
This commit is contained in:
parent
8b4a7a59c0
commit
695633e876
2 changed files with 4 additions and 4 deletions
|
@ -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 a new issue