diff --git a/CHANGELOG.md b/CHANGELOG.md index 76af6f1..61f7ec0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2101.1.6] + +### Fixed +* A small message fix for minimum Y-value limit on `/sethome` command + ## [2101.1.5] ### Added diff --git a/common/src/main/java/dev/ftb/mods/ftbessentials/commands/impl/teleporting/HomeCommand.java b/common/src/main/java/dev/ftb/mods/ftbessentials/commands/impl/teleporting/HomeCommand.java index 050ef86..b0886f6 100644 --- a/common/src/main/java/dev/ftb/mods/ftbessentials/commands/impl/teleporting/HomeCommand.java +++ b/common/src/main/java/dev/ftb/mods/ftbessentials/commands/impl/teleporting/HomeCommand.java @@ -78,7 +78,7 @@ public int setHome(ServerPlayer player, String name) { return FTBEPlayerData.getOrCreate(player).map(data -> { try { if (player.blockPosition().getY() < FTBEConfig.HOME_MIN_Y.get()) { - player.displayClientMessage(Component.translatable("ftbessentials.home.y_too_low", player.blockPosition().getY()), false); + player.displayClientMessage(Component.translatable("ftbessentials.home.y_too_low", FTBEConfig.HOME_MIN_Y.get()), false); return 0; } data.homeManager().addDestination(name, new TeleportPos(player), player); diff --git a/gradle.properties b/gradle.properties index 002edce..a6f6e26 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,7 +9,7 @@ archives_base_name=ftb-essentials maven_group=dev.ftb.mods minecraft_version=1.21.1 -mod_version=2101.1.5 +mod_version=2101.1.6 mod_author=FTB Team # Deps