Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/backup-only-claimed-chunks' in…
Browse files Browse the repository at this point in the history
…to backup-only-claimed-chunks
  • Loading branch information
Lyfts committed Sep 9, 2024
2 parents cc18a9e + 9250888 commit a43b7d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dependencies {
api("com.github.GTNewHorizons:GTNHLib:0.5.5:dev")
compileOnly("com.github.GTNewHorizons:NotEnoughItems:2.6.34-GTNH:dev")
compileOnly("com.github.GTNewHorizons:EnderIO:2.8.17:dev")
compileOnly("com.github.GTNewHorizons:Navigator:1.0.10:dev")
compileOnly("com.github.GTNewHorizons:Navigator:1.0.12:dev")

runtimeOnlyNonPublishable("com.github.GTNewHorizons:waila:1.8.1:dev")
}
4 changes: 2 additions & 2 deletions src/main/java/serverutils/ServerUtilitiesConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -167,15 +167,15 @@ public static class AFK {
public boolean enabled;

@Config.Comment("Enables afk timer in singleplayer.")
@Config.DefaultBoolean(false)
@Config.DefaultBoolean(true)
public boolean enabled_singleplayer;

@Config.Comment("After how much time it will display notification to all players.")
@Config.DefaultString("5m")
public String notification_timer;

@Config.Ignore
private long notificationTimer;
private long notificationTimer = -1L;

public boolean isEnabled(MinecraftServer server) {
return enabled && (enabled_singleplayer || !server.isSinglePlayer());
Expand Down

0 comments on commit a43b7d4

Please sign in to comment.