Skip to content

Commit

Permalink
0.8.1: update some descriptions; area welcome message is disabled by …
Browse files Browse the repository at this point in the history
…default
  • Loading branch information
3TUSK committed Sep 12, 2024
1 parent 9461acb commit 287dbd4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ mod_name=Area Control
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=BSD-3-Clause
# The mod version. See https://semver.org/
mod_version=0.8.0
mod_version=0.8.1
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
# This should match the base package used for the mod sources.
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
mod_group_id=com.example.examplemod
mod_group_id=org.teacon
# The authors of the mod. This is a simple text string that is used for display purposes in the mod list.
mod_authors=3TUSK, Burning_TNT (Migrate to NeoForge 1.21)
# The description of the mod. This is a simple multiline text string that is used for display purposes in the mod list.
mod_description=A comprehensive (maybe) plot management mod under Forge framework.
mod_description=A plot management mod made for TeaCon.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public static void onPlayerTick(PlayerTickEvent.Pre event) {
INSTANCE.playerLocation.remove(playerId);
} else {
INSTANCE.playerLocation.put(playerId, currentArea.uid);
if (AreaProperties.getBool(currentArea, "area.display_welcome_message")) {
if (AreaProperties.getBoolOptional(currentArea, AreaProperties.SHOW_WELCOME).orElse(Boolean.FALSE)) {
player.displayClientMessage(Component.translatable("area_control.claim.welcome", currentArea.name), true);
}
}
Expand Down

0 comments on commit 287dbd4

Please sign in to comment.