fix comment spacing

This commit is contained in:
xGinko 2023-10-03 00:12:02 +02:00
parent 940ba7a99b
commit b892e6afb4
2 changed files with 4 additions and 4 deletions

View File

@ -53,8 +53,8 @@ public class VillagerChunkLimit implements VillagerOptimizerModule, Listener, Ru
"FLETCHER", "MASON", "FARMER", "ARMORER", "TOOLSMITH", "WEAPONSMITH", "CLERIC", "LIBRARIAN" "FLETCHER", "MASON", "FARMER", "ARMORER", "TOOLSMITH", "WEAPONSMITH", "CLERIC", "LIBRARIAN"
), """ ), """
Professions that are in the top of the list are going to be scheduled for removal first.\s Professions that are in the top of the list are going to be scheduled for removal first.\s
Use enums from https://jd.papermc.io/paper/1.20/org/bukkit/entity/Villager.Profession.html Use enums from https://jd.papermc.io/paper/1.20/org/bukkit/entity/Villager.Profession.html"""
""").forEach(configuredProfession -> { ).forEach(configuredProfession -> {
try { try {
Villager.Profession profession = Villager.Profession.valueOf(configuredProfession); Villager.Profession profession = Villager.Profession.valueOf(configuredProfession);
this.removal_priority.add(profession); this.removal_priority.add(profession);

View File

@ -54,8 +54,8 @@ public class VillagerChunkLimit implements VillagerOptimizerModule, Listener {
"FLETCHER", "MASON", "FARMER", "ARMORER", "TOOLSMITH", "WEAPONSMITH", "CLERIC", "LIBRARIAN" "FLETCHER", "MASON", "FARMER", "ARMORER", "TOOLSMITH", "WEAPONSMITH", "CLERIC", "LIBRARIAN"
), """ ), """
Professions that are in the top of the list are going to be scheduled for removal first.\s Professions that are in the top of the list are going to be scheduled for removal first.\s
Use enums from https://jd.papermc.io/paper/1.20/org/bukkit/entity/Villager.Profession.html Use enums from https://jd.papermc.io/paper/1.20/org/bukkit/entity/Villager.Profession.html"""
""").forEach(configuredProfession -> { ).forEach(configuredProfession -> {
try { try {
Villager.Profession profession = Villager.Profession.valueOf(configuredProfession); Villager.Profession profession = Villager.Profession.valueOf(configuredProfession);
this.removal_priority.add(profession); this.removal_priority.add(profession);