Skip to content

Commit

Permalink
Merge pull request #136 from FTBTeam/1.20.1/dev
Browse files Browse the repository at this point in the history
1.20.1/dev
  • Loading branch information
desht authored Nov 21, 2024
2 parents 8876efd + 3816a7e commit 90edae0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion common/src/main/java/dev/ftb/mods/ftblibrary/FTBLibrary.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ private void serverStopped(MinecraftServer server) {
}

private void playerJoined(ServerPlayer player) {
new SyncKnownServerRegistriesPacket(KnownServerRegistries.server).sendTo(player);
if (KnownServerRegistries.server != null) {
// can be null, e.g. https://github.com/FTBTeam/FTB-Mods-Issues/issues/1387
new SyncKnownServerRegistriesPacket(KnownServerRegistries.server).sendTo(player);
}
}
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ org.gradle.daemon=false
mod_id=ftblibrary
archives_base_name=ftb-library
maven_group=dev.ftb.mods
mod_version=2001.2.5
mod_version=2001.2.6
mod_author=FTB Team
minecraft_version=1.20.1
architectury_version=9.0.8
Expand Down

0 comments on commit 90edae0

Please sign in to comment.