Proper naming for auto skill configuration.

This commit is contained in:
MobiusDevelopment
2021-07-22 22:49:03 +00:00
parent e8ed52bcd8
commit 55ad1bd328
32 changed files with 40 additions and 40 deletions

View File

@@ -585,7 +585,7 @@ public class Config
public static boolean BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS;
public static boolean ENABLE_AUTO_PLAY;
public static boolean ENABLE_AUTO_POTION;
public static boolean ENABLE_AUTO_BUFF;
public static boolean ENABLE_AUTO_SKILL;
public static boolean ENABLE_AUTO_ITEM;
// --------------------------------------------------
@@ -2164,7 +2164,7 @@ public class Config
BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS = General.getBoolean("AllowReportsFromSameClanMembers", false);
ENABLE_AUTO_PLAY = General.getBoolean("EnableAutoPlay", true);
ENABLE_AUTO_POTION = General.getBoolean("EnableAutoPotion", true);
ENABLE_AUTO_BUFF = General.getBoolean("EnableAutoBuff", true);
ENABLE_AUTO_SKILL = General.getBoolean("EnableAutoSkill", true);
ENABLE_AUTO_ITEM = General.getBoolean("EnableAutoItem", true);
// Load FloodProtector config file

View File

@@ -120,7 +120,7 @@ public class ExRequestActivateAutoShortcut implements IClientIncomingPacket
}
}
// auto skill
if (Config.ENABLE_AUTO_BUFF && (skill != null))
if (Config.ENABLE_AUTO_SKILL && (skill != null))
{
AutoUseTaskManager.getInstance().addAutoSkill(player, skill.getId());
return;

View File

@@ -150,7 +150,7 @@ public class AutoUseTaskManager
}
}
if (Config.ENABLE_AUTO_BUFF)
if (Config.ENABLE_AUTO_SKILL)
{
BUFFS: for (Integer skillId : player.getAutoUseSettings().getAutoSkills())
{