make these comments less copy paste

This commit is contained in:
xGinko 2023-09-11 19:59:25 +02:00
parent 57f4c8c1ac
commit e317b693db
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ public class BlockOptimization implements VillagerOptimizerModule, Listener {
} }
}); });
this.cooldown = config.getInt("optimization-methods.block-optimization.optimize-cooldown-seconds", 600, """ this.cooldown = config.getInt("optimization-methods.block-optimization.optimize-cooldown-seconds", 600, """
Cooldown in seconds until a villager can be optimized again by using this method. \s Cooldown in seconds until a villager can be optimized again by using specific blocks. \s
Here for configuration freedom. Recommended to leave as is to not enable any exploitable behavior. Here for configuration freedom. Recommended to leave as is to not enable any exploitable behavior.
""") * 1000L; """) * 1000L;
this.maxVillagers = config.getInt("optimization-methods.block-optimization.max-villagers-per-block", 3, this.maxVillagers = config.getInt("optimization-methods.block-optimization.max-villagers-per-block", 3,

View File

@ -57,7 +57,7 @@ public class WorkstationOptimization implements VillagerOptimizerModule, Listene
The radius in blocks a villager can be away from the player when he places a workstation.\s The radius in blocks a villager can be away from the player when he places a workstation.\s
The closest unoptimized villager to the player will be optimized.""") / 2; The closest unoptimized villager to the player will be optimized.""") / 2;
this.cooldown = config.getInt("optimization-methods.workstation-optimization.optimize-cooldown-seconds", 600, """ this.cooldown = config.getInt("optimization-methods.workstation-optimization.optimize-cooldown-seconds", 600, """
Cooldown in seconds until a villager can be optimized again using this method.\s Cooldown in seconds until a villager can be optimized again using a workstation.\s
Here for configuration freedom. Recommended to leave as is to not enable any exploitable behavior.""") * 1000L; Here for configuration freedom. Recommended to leave as is to not enable any exploitable behavior.""") * 1000L;
this.shouldNotifyPlayer = config.getBoolean("optimization-methods.workstation-optimization.notify-player", true, this.shouldNotifyPlayer = config.getBoolean("optimization-methods.workstation-optimization.notify-player", true,
"Sends players a message when they successfully optimized a villager."); "Sends players a message when they successfully optimized a villager.");