Skip to content

Commit 6b790ca

Browse files
authored
Merge pull request #277 from FTBTeam/1.20.1/dev
1.20.1/dev
2 parents a06939f + da0a04d commit 6b790ca

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

Diff for: CHANGELOG.md

+5
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+
## [2001.2.7]
8+
9+
### Fixed
10+
* Fixed server crash related to long range player tracking
11+
712
## [2001.2.6]
813

914
### Fixed

Diff for: common/src/main/java/dev/ftb/mods/ftbchunks/LongRangePlayerTracker.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,6 @@ private boolean shouldTrack(ServerPlayer p1, ServerPlayer p2, int maxDistSq) {
8989

9090
// and player 1 must be able to see player 2 (i.e. player 2's team settings must allow it)
9191
ChunkTeamDataImpl p2Team = ClaimedChunkManagerImpl.getInstance().getOrCreateData(p2);
92-
return p2Team.canPlayerUse(p1, FTBChunksProperties.LOCATION_MODE);
92+
return p2Team != null && p2Team.canPlayerUse(p1, FTBChunksProperties.LOCATION_MODE);
9393
}
9494
}

Diff for: gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ org.gradle.daemon=false
55
mod_id=ftbchunks
66
archives_base_name=ftb-chunks
77
maven_group=dev.ftb.mods
8-
mod_version=2001.2.6
8+
mod_version=2001.2.7
99
mod_author=FTB Team
1010

1111
minecraft_version=1.20.1

0 commit comments

Comments
 (0)