9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-30 20:39:13 +00:00

Update Balloons on movement

This commit is contained in:
LoJoSho
2022-11-15 19:47:31 -06:00
parent 1496746ac0
commit 3013ca1820

View File

@@ -80,7 +80,9 @@ public class PlayerGameListener implements Listener {
@EventHandler
public void onPlayerLook(PlayerMoveEvent event) {
CosmeticUser user = CosmeticUsers.getUser(event.getPlayer().getUniqueId());
// Really need to look into optimization of this
user.updateCosmetic(CosmeticSlot.BACKPACK);
user.updateCosmetic(CosmeticSlot.BALLOON);
}
private void registerInventoryClickListener() {