From 162d4a6ed6a252424e8c176754fadceae2c721b9 Mon Sep 17 00:00:00 2001 From: LoJoSho Date: Sat, 9 Sep 2023 12:34:53 -0500 Subject: [PATCH] fix: setting viewlocation now sets from eye level location --- .../com/hibiscusmc/hmccosmetics/command/CosmeticCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/hibiscusmc/hmccosmetics/command/CosmeticCommand.java b/common/src/main/java/com/hibiscusmc/hmccosmetics/command/CosmeticCommand.java index c0aad112..001e3b5b 100644 --- a/common/src/main/java/com/hibiscusmc/hmccosmetics/command/CosmeticCommand.java +++ b/common/src/main/java/com/hibiscusmc/hmccosmetics/command/CosmeticCommand.java @@ -333,7 +333,7 @@ public class CosmeticCommand implements CommandExecutor { } if (args[2].equalsIgnoreCase("viewerlocation")) { - WardrobeSettings.setViewerLocation(wardrobe, player.getLocation()); + WardrobeSettings.setViewerLocation(wardrobe, player.getEyeLocation()); if (!silent) MessagesUtil.sendMessage(player, "set-wardrobe-viewing"); return true; }