9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-30 04:19:28 +00:00

fix: setting viewlocation now sets from eye level location

This commit is contained in:
LoJoSho
2023-09-09 12:34:53 -05:00
parent 41140f60c5
commit 162d4a6ed6

View File

@@ -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;
}