Skip to content

Commit 2f1ab66

Browse files
authored
Merge pull request #75 from FTBTeam/dev
Dev
2 parents d7d6ff8 + 2201933 commit 2f1ab66

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [2101.1.2]
8+
9+
### Fixed
10+
* Fixed a command being usable by non-admin players
11+
712
## [2101.1.1]
813

914
### Added

common/src/main/java/dev/ftb/mods/ftbessentials/commands/impl/teleporting/OfflineTeleportCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public List<LiteralArgumentBuilder<CommandSourceStack>> register() {
5050
)
5151
);
5252

53-
var alias = literal("tpo").redirect(tpOffline.build());
53+
var alias = literal("tpo").requires(FTBEConfig.TP_OFFLINE.enabledAndOp()).redirect(tpOffline.build());
5454

5555
return List.of(tpOffline, alias);
5656
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ archives_base_name=ftb-essentials
99
maven_group=dev.ftb.mods
1010

1111
minecraft_version=1.21.1
12-
mod_version=2101.1.1
12+
mod_version=2101.1.2
1313
mod_author=FTB Team
1414

1515
# Deps

0 commit comments

Comments
 (0)