From 4e21945bbb012da71c0e1c8a055b7a76cd7e6e70 Mon Sep 17 00:00:00 2001 From: lucian929 Date: Sat, 26 Feb 2022 12:34:57 -0500 Subject: [PATCH] Small changes --- common/build.gradle.kts | 2 +- .../io/github/fisher2911/hmccosmetics/database/Database.java | 1 + .../java/io/github/fisher2911/hmccosmetics/user/BaseUser.java | 1 - common/src/main/resources/messages.yml | 2 ++ 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/common/build.gradle.kts b/common/build.gradle.kts index d4f07fc9..c22d38c0 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -7,7 +7,7 @@ plugins { } group = "io.github.fisher2911" -version = "1.9.4" +version = "1.10.0-BETA" description = "Intuitive, easy-to-use cosmetics plugin, designed for servers using resource packs.\n" repositories { diff --git a/common/src/main/java/io/github/fisher2911/hmccosmetics/database/Database.java b/common/src/main/java/io/github/fisher2911/hmccosmetics/database/Database.java index eee1b6ba..02f802b1 100644 --- a/common/src/main/java/io/github/fisher2911/hmccosmetics/database/Database.java +++ b/common/src/main/java/io/github/fisher2911/hmccosmetics/database/Database.java @@ -97,6 +97,7 @@ public class Database { onComplete.accept(new User( uuid, PlayerArmor.empty(), + wardrobe, new EntityIds(entity.getEntityId(), armorStandId, balloonId) )); } diff --git a/common/src/main/java/io/github/fisher2911/hmccosmetics/user/BaseUser.java b/common/src/main/java/io/github/fisher2911/hmccosmetics/user/BaseUser.java index ba8e7a5c..8469122c 100644 --- a/common/src/main/java/io/github/fisher2911/hmccosmetics/user/BaseUser.java +++ b/common/src/main/java/io/github/fisher2911/hmccosmetics/user/BaseUser.java @@ -124,7 +124,6 @@ public abstract class BaseUser { 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); diff --git a/common/src/main/resources/messages.yml b/common/src/main/resources/messages.yml index b6ca47d2..1ee35705 100644 --- a/common/src/main/resources/messages.yml +++ b/common/src/main/resources/messages.yml @@ -3,6 +3,8 @@ no-permission: "%prefix% No Permission!" no-cosmetic-permission: "%prefix% You do not have permission for this cosmetic!" set-hat: "%prefix% Applied hat!" removed-hat: "%prefix% Removed hat!" +set-balloon: "%prefix% Applied Balloon!" +removed-balloon: "%prefix% Removed Balloon!" set-backpack: "%prefix% Applied backpack!" removed-backpack: "%prefix% Removed backpack!" set-off-hand: "%prefix% Applied offhand!"