mirror of
https://github.com/HibiscusMC/HMCCosmetics.git
synced 2025-12-28 19:39:14 +00:00
feat: add hidden placeholder
This commit is contained in:
@@ -167,6 +167,8 @@ public class HMCPlaceholderExpansion extends PlaceholderExpansion {
|
||||
} else {
|
||||
return TranslationUtil.getTranslation("amount-cosmetic", String.valueOf(Cosmetics.values().size()));
|
||||
}
|
||||
case "hidden":
|
||||
return TranslationUtil.getTranslation("hidden", String.valueOf(user.isHidden()));
|
||||
case "wardrobe-enabled":
|
||||
return TranslationUtil.getTranslation("in-wardrobe", String.valueOf(user.isInWardrobe()));
|
||||
}
|
||||
|
||||
@@ -13,6 +13,9 @@ in-wardrobe:
|
||||
using-cosmetic:
|
||||
true: "true"
|
||||
false: "false"
|
||||
hidden:
|
||||
true: "true"
|
||||
false: "false"
|
||||
current-cosmetic:
|
||||
no-cosmetic: "No Cosmetic"
|
||||
none: "none"
|
||||
|
||||
Reference in New Issue
Block a user