9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-28 03:19:15 +00:00

dyable balloons if no parts selected

This commit is contained in:
LoJoSho
2023-01-21 18:12:57 -06:00
parent 9d92ed0dda
commit ea1b87c128

View File

@@ -83,6 +83,9 @@ public class CosmeticBalloonType extends Cosmetic {
}
public boolean isDyablePart(String name) {
// If player does not define parts, dye whole model
if (dyableParts == null) return true;
if (dyableParts.isEmpty()) return true;
return dyableParts.contains(name);
}