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

fix: default color being white

This commit is contained in:
LoJoSho
2023-03-10 16:06:51 -06:00
parent 40bf0e173e
commit 2ba83d8cc5

View File

@@ -95,7 +95,7 @@ public class CosmeticCommand implements CommandExecutor {
return true;
}
Cosmetic cosmetic;
Color color = Color.WHITE;
Color color = null;
if (sender instanceof Player) player = ((Player) sender).getPlayer();
if (sender.hasPermission("hmccosmetics.cmd.apply.other")) {