Skip to content

Commit

Permalink
Merge pull request #83 from FTBTeam/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
desht authored Feb 10, 2025
2 parents 10bc85a + 31a49c8 commit 7436c77
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7436c77

Please sign in to comment.