mirror of
https://github.com/HibiscusMC/HMCCosmetics.git
synced 2025-12-25 09:59:28 +00:00
Better balloon item handling in getUserCosmeticItem
This commit is contained in:
@@ -166,7 +166,11 @@ public class CosmeticUser {
|
||||
item = cosmetic.getItem();
|
||||
}
|
||||
if (cosmetic instanceof CosmeticBalloonType) {
|
||||
item = new ItemStack(Material.LEATHER_HORSE_ARMOR);
|
||||
if (cosmetic.getItem() == null) {
|
||||
item = new ItemStack(Material.LEATHER_HORSE_ARMOR);
|
||||
} else {
|
||||
item = cosmetic.getItem();
|
||||
}
|
||||
}
|
||||
if (item == null) {
|
||||
MessagesUtil.sendDebugMessages("GetUserCosemticUser Item is null");
|
||||
|
||||
Reference in New Issue
Block a user