9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-26 18:39:07 +00:00

Small changes

This commit is contained in:
lucian929
2022-02-26 12:34:57 -05:00
parent b3aa0b942f
commit 4e21945bbb
4 changed files with 4 additions and 2 deletions

View File

@@ -97,6 +97,7 @@ public class Database {
onComplete.accept(new User(
uuid,
PlayerArmor.empty(),
wardrobe,
new EntityIds(entity.getEntityId(), armorStandId, balloonId)
));
}

View File

@@ -124,7 +124,6 @@ public abstract class BaseUser<T> {
final String id = balloonItem.getModelId();
final HookManager hookManager = HookManager.getInstance();
if (id.isBlank() || !hookManager.isEnabled(ModelEngineHook.class)) return;
other.sendMessage("Spawned balloon");
this.balloon.setAlive(true);
this.viewingBalloon.add(other.getUniqueId());
this.balloon.setLocation(actual);

View File

@@ -3,6 +3,8 @@ no-permission: "%prefix% <red>No Permission!"
no-cosmetic-permission: "%prefix% <red>You do not have permission for this cosmetic!"
set-hat: "%prefix% <gradient:#6D9DC5:#45CDE9>Applied hat!"
removed-hat: "%prefix% <gradient:#6D9DC5:#45CDE9>Removed hat!"
set-balloon: "%prefix% <gradient:#6D9DC5:#45CDE9>Applied Balloon!"
removed-balloon: "%prefix% <gradient:#6D9DC5:#45CDE9>Removed Balloon!"
set-backpack: "%prefix% <gradient:#6D9DC5:#45CDE9>Applied backpack!"
removed-backpack: "%prefix% <gradient:#6D9DC5:#45CDE9>Removed backpack!"
set-off-hand: "%prefix% <gradient:#6D9DC5:#45CDE9>Applied offhand!"