Proper naming for auto skill configuration.
This commit is contained in:
@@ -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
|
||||
|
@@ -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;
|
||||
|
@@ -150,7 +150,7 @@ public class AutoUseTaskManager
|
||||
}
|
||||
}
|
||||
|
||||
if (Config.ENABLE_AUTO_BUFF)
|
||||
if (Config.ENABLE_AUTO_SKILL)
|
||||
{
|
||||
BUFFS: for (Integer skillId : player.getAutoUseSettings().getAutoSkills())
|
||||
{
|
||||
|
Reference in New Issue
Block a user