Skip to content

Commit 6af177b

Browse files
authored
Merge pull request #71 from FTBTeam/1.21.1/dev
1.21.1/dev
2 parents f07f358 + a38ca3c commit 6af177b

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.4]
8+
9+
### Fixed
10+
* Fixed a FTB Team Bases related crash when attempting to visit bases of disbanded teams
11+
712
## [2101.1.3]
813

914
### Added

common/src/main/java/dev/ftb/mods/ftbteams/data/TeamManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public Map<String, Team> getTeamNameMap() {
104104

105105
@Override
106106
public Optional<Team> getTeamByID(UUID teamId) {
107-
return Optional.of(teamMap.get(teamId));
107+
return Optional.ofNullable(teamMap.get(teamId));
108108
}
109109

110110
@Override

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ maven_group=dev.ftb.mods
77
readable_name=FTB Teams
88
mod_author=FTB Team
99

10-
mod_version=2101.1.3
10+
mod_version=2101.1.4
1111
minecraft_version=1.21.1
1212

1313
# Deps

0 commit comments

Comments
 (0)