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

@@ -666,7 +666,7 @@ EnableAutoPlay = True
EnableAutoPotion = True EnableAutoPotion = True
# Default: True # Default: True
EnableAutoBuff = True EnableAutoSkill = True
# Default: True # Default: True
EnableAutoItem = True EnableAutoItem = True

View File

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

View File

@@ -120,7 +120,7 @@ public class ExRequestActivateAutoShortcut implements IClientIncomingPacket
} }
} }
// auto skill // auto skill
if (Config.ENABLE_AUTO_BUFF && (skill != null)) if (Config.ENABLE_AUTO_SKILL && (skill != null))
{ {
AutoUseTaskManager.getInstance().addAutoSkill(player, skill.getId()); AutoUseTaskManager.getInstance().addAutoSkill(player, skill.getId());
return; 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()) BUFFS: for (Integer skillId : player.getAutoUseSettings().getAutoSkills())
{ {

View File

@@ -661,7 +661,7 @@ EnableAutoPlay = True
EnableAutoPotion = True EnableAutoPotion = True
# Default: True # Default: True
EnableAutoBuff = True EnableAutoSkill = True
# Default: True # Default: True
EnableAutoItem = True EnableAutoItem = True

View File

@@ -583,7 +583,7 @@ public class Config
public static boolean BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS; public static boolean BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS;
public static boolean ENABLE_AUTO_PLAY; public static boolean ENABLE_AUTO_PLAY;
public static boolean ENABLE_AUTO_POTION; public static boolean ENABLE_AUTO_POTION;
public static boolean ENABLE_AUTO_BUFF; public static boolean ENABLE_AUTO_SKILL;
public static boolean ENABLE_AUTO_ITEM; public static boolean ENABLE_AUTO_ITEM;
// -------------------------------------------------- // --------------------------------------------------
@@ -2160,7 +2160,7 @@ public class Config
BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS = General.getBoolean("AllowReportsFromSameClanMembers", false); BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS = General.getBoolean("AllowReportsFromSameClanMembers", false);
ENABLE_AUTO_PLAY = General.getBoolean("EnableAutoPlay", true); ENABLE_AUTO_PLAY = General.getBoolean("EnableAutoPlay", true);
ENABLE_AUTO_POTION = General.getBoolean("EnableAutoPotion", 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); ENABLE_AUTO_ITEM = General.getBoolean("EnableAutoItem", true);
// Load FloodProtector config file // Load FloodProtector config file

View File

@@ -120,7 +120,7 @@ public class ExRequestActivateAutoShortcut implements IClientIncomingPacket
} }
} }
// auto skill // auto skill
if (Config.ENABLE_AUTO_BUFF && (skill != null)) if (Config.ENABLE_AUTO_SKILL && (skill != null))
{ {
AutoUseTaskManager.getInstance().addAutoSkill(player, skill.getId()); AutoUseTaskManager.getInstance().addAutoSkill(player, skill.getId());
return; 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()) BUFFS: for (Integer skillId : player.getAutoUseSettings().getAutoSkills())
{ {

View File

@@ -661,7 +661,7 @@ EnableAutoPlay = True
EnableAutoPotion = True EnableAutoPotion = True
# Default: True # Default: True
EnableAutoBuff = True EnableAutoSkill = True
# Default: True # Default: True
EnableAutoItem = True EnableAutoItem = True

View File

@@ -583,7 +583,7 @@ public class Config
public static boolean BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS; public static boolean BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS;
public static boolean ENABLE_AUTO_PLAY; public static boolean ENABLE_AUTO_PLAY;
public static boolean ENABLE_AUTO_POTION; public static boolean ENABLE_AUTO_POTION;
public static boolean ENABLE_AUTO_BUFF; public static boolean ENABLE_AUTO_SKILL;
public static boolean ENABLE_AUTO_ITEM; public static boolean ENABLE_AUTO_ITEM;
// -------------------------------------------------- // --------------------------------------------------
@@ -2160,7 +2160,7 @@ public class Config
BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS = General.getBoolean("AllowReportsFromSameClanMembers", false); BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS = General.getBoolean("AllowReportsFromSameClanMembers", false);
ENABLE_AUTO_PLAY = General.getBoolean("EnableAutoPlay", true); ENABLE_AUTO_PLAY = General.getBoolean("EnableAutoPlay", true);
ENABLE_AUTO_POTION = General.getBoolean("EnableAutoPotion", 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); ENABLE_AUTO_ITEM = General.getBoolean("EnableAutoItem", true);
// Load FloodProtector config file // Load FloodProtector config file

View File

@@ -120,7 +120,7 @@ public class ExRequestActivateAutoShortcut implements IClientIncomingPacket
} }
} }
// auto skill // auto skill
if (Config.ENABLE_AUTO_BUFF && (skill != null)) if (Config.ENABLE_AUTO_SKILL && (skill != null))
{ {
AutoUseTaskManager.getInstance().addAutoSkill(player, skill.getId()); AutoUseTaskManager.getInstance().addAutoSkill(player, skill.getId());
return; 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()) BUFFS: for (Integer skillId : player.getAutoUseSettings().getAutoSkills())
{ {

View File

@@ -661,7 +661,7 @@ EnableAutoPlay = True
EnableAutoPotion = True EnableAutoPotion = True
# Default: True # Default: True
EnableAutoBuff = True EnableAutoSkill = True
# Default: True # Default: True
EnableAutoItem = True EnableAutoItem = True

View File

@@ -583,7 +583,7 @@ public class Config
public static boolean BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS; public static boolean BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS;
public static boolean ENABLE_AUTO_PLAY; public static boolean ENABLE_AUTO_PLAY;
public static boolean ENABLE_AUTO_POTION; public static boolean ENABLE_AUTO_POTION;
public static boolean ENABLE_AUTO_BUFF; public static boolean ENABLE_AUTO_SKILL;
public static boolean ENABLE_AUTO_ITEM; public static boolean ENABLE_AUTO_ITEM;
// -------------------------------------------------- // --------------------------------------------------
@@ -2160,7 +2160,7 @@ public class Config
BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS = General.getBoolean("AllowReportsFromSameClanMembers", false); BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS = General.getBoolean("AllowReportsFromSameClanMembers", false);
ENABLE_AUTO_PLAY = General.getBoolean("EnableAutoPlay", true); ENABLE_AUTO_PLAY = General.getBoolean("EnableAutoPlay", true);
ENABLE_AUTO_POTION = General.getBoolean("EnableAutoPotion", 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); ENABLE_AUTO_ITEM = General.getBoolean("EnableAutoItem", true);
// Load FloodProtector config file // Load FloodProtector config file

View File

@@ -120,7 +120,7 @@ public class ExRequestActivateAutoShortcut implements IClientIncomingPacket
} }
} }
// auto skill // auto skill
if (Config.ENABLE_AUTO_BUFF && (skill != null)) if (Config.ENABLE_AUTO_SKILL && (skill != null))
{ {
AutoUseTaskManager.getInstance().addAutoSkill(player, skill.getId()); AutoUseTaskManager.getInstance().addAutoSkill(player, skill.getId());
return; 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()) BUFFS: for (Integer skillId : player.getAutoUseSettings().getAutoSkills())
{ {

View File

@@ -661,7 +661,7 @@ EnableAutoPlay = True
EnableAutoPotion = True EnableAutoPotion = True
# Default: True # Default: True
EnableAutoBuff = True EnableAutoSkill = True
# Default: True # Default: True
EnableAutoItem = True EnableAutoItem = True

View File

@@ -608,7 +608,7 @@ public class Config
public static boolean BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS; public static boolean BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS;
public static boolean ENABLE_AUTO_PLAY; public static boolean ENABLE_AUTO_PLAY;
public static boolean ENABLE_AUTO_POTION; public static boolean ENABLE_AUTO_POTION;
public static boolean ENABLE_AUTO_BUFF; public static boolean ENABLE_AUTO_SKILL;
public static boolean ENABLE_AUTO_ITEM; public static boolean ENABLE_AUTO_ITEM;
// -------------------------------------------------- // --------------------------------------------------
@@ -2076,7 +2076,7 @@ public class Config
BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS = General.getBoolean("AllowReportsFromSameClanMembers", false); BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS = General.getBoolean("AllowReportsFromSameClanMembers", false);
ENABLE_AUTO_PLAY = General.getBoolean("EnableAutoPlay", true); ENABLE_AUTO_PLAY = General.getBoolean("EnableAutoPlay", true);
ENABLE_AUTO_POTION = General.getBoolean("EnableAutoPotion", 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); ENABLE_AUTO_ITEM = General.getBoolean("EnableAutoItem", true);
// Load FloodProtector config file // Load FloodProtector config file

View File

@@ -120,7 +120,7 @@ public class ExRequestActivateAutoShortcut implements IClientIncomingPacket
} }
} }
// auto skill // auto skill
if (Config.ENABLE_AUTO_BUFF && (skill != null)) if (Config.ENABLE_AUTO_SKILL && (skill != null))
{ {
AutoUseTaskManager.getInstance().addAutoSkill(player, skill.getId()); AutoUseTaskManager.getInstance().addAutoSkill(player, skill.getId());
return; 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()) BUFFS: for (Integer skillId : player.getAutoUseSettings().getAutoSkills())
{ {

View File

@@ -661,7 +661,7 @@ EnableAutoPlay = True
EnableAutoPotion = True EnableAutoPotion = True
# Default: True # Default: True
EnableAutoBuff = True EnableAutoSkill = True
# Default: True # Default: True
EnableAutoItem = True EnableAutoItem = True

View File

@@ -608,7 +608,7 @@ public class Config
public static boolean BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS; public static boolean BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS;
public static boolean ENABLE_AUTO_PLAY; public static boolean ENABLE_AUTO_PLAY;
public static boolean ENABLE_AUTO_POTION; public static boolean ENABLE_AUTO_POTION;
public static boolean ENABLE_AUTO_BUFF; public static boolean ENABLE_AUTO_SKILL;
public static boolean ENABLE_AUTO_ITEM; public static boolean ENABLE_AUTO_ITEM;
public static int SHARING_LOCATION_COST; public static int SHARING_LOCATION_COST;
public static int TELEPORT_SHARE_LOCATION_COST; public static int TELEPORT_SHARE_LOCATION_COST;
@@ -2106,7 +2106,7 @@ public class Config
BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS = General.getBoolean("AllowReportsFromSameClanMembers", false); BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS = General.getBoolean("AllowReportsFromSameClanMembers", false);
ENABLE_AUTO_PLAY = General.getBoolean("EnableAutoPlay", true); ENABLE_AUTO_PLAY = General.getBoolean("EnableAutoPlay", true);
ENABLE_AUTO_POTION = General.getBoolean("EnableAutoPotion", 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); ENABLE_AUTO_ITEM = General.getBoolean("EnableAutoItem", true);
// Share Location // Share Location

View File

@@ -120,7 +120,7 @@ public class ExRequestActivateAutoShortcut implements IClientIncomingPacket
} }
} }
// auto skill // auto skill
if (Config.ENABLE_AUTO_BUFF && (skill != null)) if (Config.ENABLE_AUTO_SKILL && (skill != null))
{ {
AutoUseTaskManager.getInstance().addAutoSkill(player, skill.getId()); AutoUseTaskManager.getInstance().addAutoSkill(player, skill.getId());
return; 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()) BUFFS: for (Integer skillId : player.getAutoUseSettings().getAutoSkills())
{ {

View File

@@ -661,7 +661,7 @@ EnableAutoPlay = True
EnableAutoPotion = True EnableAutoPotion = True
# Default: True # Default: True
EnableAutoBuff = True EnableAutoSkill = True
# Default: True # Default: True
EnableAutoItem = True EnableAutoItem = True

View File

@@ -608,7 +608,7 @@ public class Config
public static boolean BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS; public static boolean BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS;
public static boolean ENABLE_AUTO_PLAY; public static boolean ENABLE_AUTO_PLAY;
public static boolean ENABLE_AUTO_POTION; public static boolean ENABLE_AUTO_POTION;
public static boolean ENABLE_AUTO_BUFF; public static boolean ENABLE_AUTO_SKILL;
public static boolean ENABLE_AUTO_ITEM; public static boolean ENABLE_AUTO_ITEM;
public static int SHARING_LOCATION_COST; public static int SHARING_LOCATION_COST;
public static int TELEPORT_SHARE_LOCATION_COST; public static int TELEPORT_SHARE_LOCATION_COST;
@@ -2109,7 +2109,7 @@ public class Config
BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS = General.getBoolean("AllowReportsFromSameClanMembers", false); BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS = General.getBoolean("AllowReportsFromSameClanMembers", false);
ENABLE_AUTO_PLAY = General.getBoolean("EnableAutoPlay", true); ENABLE_AUTO_PLAY = General.getBoolean("EnableAutoPlay", true);
ENABLE_AUTO_POTION = General.getBoolean("EnableAutoPotion", true); ENABLE_AUTO_POTION = General.getBoolean("EnableAutoPotion", true);
ENABLE_AUTO_BUFF = General.getBoolean("EnableAutoBuff", true); ENABLE_AUTO_SKILL = General.getBoolean("EnableAutoBuff", true);
ENABLE_AUTO_ITEM = General.getBoolean("EnableAutoItem", true); ENABLE_AUTO_ITEM = General.getBoolean("EnableAutoItem", true);
SUBJUGATION_TOPIC_BODY = General.getString("SubjugationTopicBody", "Reward for being in the top of the best players in clearing the lands of Aden"); SUBJUGATION_TOPIC_BODY = General.getString("SubjugationTopicBody", "Reward for being in the top of the best players in clearing the lands of Aden");
SUBJUGATION_TOPIC_HEADER = General.getString("SubjugationTopicHeader", "Purge reward"); SUBJUGATION_TOPIC_HEADER = General.getString("SubjugationTopicHeader", "Purge reward");

View File

@@ -120,7 +120,7 @@ public class ExRequestActivateAutoShortcut implements IClientIncomingPacket
} }
} }
// auto skill // auto skill
if (Config.ENABLE_AUTO_BUFF && (skill != null)) if (Config.ENABLE_AUTO_SKILL && (skill != null))
{ {
AutoUseTaskManager.getInstance().addAutoSkill(player, skill.getId()); AutoUseTaskManager.getInstance().addAutoSkill(player, skill.getId());
return; 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()) BUFFS: for (Integer skillId : player.getAutoUseSettings().getAutoSkills())
{ {

View File

@@ -661,7 +661,7 @@ EnableAutoPlay = True
EnableAutoPotion = True EnableAutoPotion = True
# Default: True # Default: True
EnableAutoBuff = True EnableAutoSkill = True
# Default: True # Default: True
EnableAutoItem = True EnableAutoItem = True

View File

@@ -608,7 +608,7 @@ public class Config
public static boolean BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS; public static boolean BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS;
public static boolean ENABLE_AUTO_PLAY; public static boolean ENABLE_AUTO_PLAY;
public static boolean ENABLE_AUTO_POTION; public static boolean ENABLE_AUTO_POTION;
public static boolean ENABLE_AUTO_BUFF; public static boolean ENABLE_AUTO_SKILL;
public static boolean ENABLE_AUTO_ITEM; public static boolean ENABLE_AUTO_ITEM;
public static int SHARING_LOCATION_COST; public static int SHARING_LOCATION_COST;
public static int TELEPORT_SHARE_LOCATION_COST; public static int TELEPORT_SHARE_LOCATION_COST;
@@ -2109,7 +2109,7 @@ public class Config
BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS = General.getBoolean("AllowReportsFromSameClanMembers", false); BOTREPORT_ALLOW_REPORTS_FROM_SAME_CLAN_MEMBERS = General.getBoolean("AllowReportsFromSameClanMembers", false);
ENABLE_AUTO_PLAY = General.getBoolean("EnableAutoPlay", true); ENABLE_AUTO_PLAY = General.getBoolean("EnableAutoPlay", true);
ENABLE_AUTO_POTION = General.getBoolean("EnableAutoPotion", 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); ENABLE_AUTO_ITEM = General.getBoolean("EnableAutoItem", true);
SUBJUGATION_TOPIC_BODY = General.getString("SubjugationTopicBody", "Reward for being in the top of the best players in clearing the lands of Aden"); SUBJUGATION_TOPIC_BODY = General.getString("SubjugationTopicBody", "Reward for being in the top of the best players in clearing the lands of Aden");
SUBJUGATION_TOPIC_HEADER = General.getString("SubjugationTopicHeader", "Purge reward"); SUBJUGATION_TOPIC_HEADER = General.getString("SubjugationTopicHeader", "Purge reward");

View File

@@ -120,7 +120,7 @@ public class ExRequestActivateAutoShortcut implements IClientIncomingPacket
} }
} }
// auto skill // auto skill
if (Config.ENABLE_AUTO_BUFF && (skill != null)) if (Config.ENABLE_AUTO_SKILL && (skill != null))
{ {
AutoUseTaskManager.getInstance().addAutoSkill(player, skill.getId()); AutoUseTaskManager.getInstance().addAutoSkill(player, skill.getId());
return; 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()) BUFFS: for (Integer skillId : player.getAutoUseSettings().getAutoSkills())
{ {