mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 13:28:25 +00:00
only load client spell types for clients
This commit is contained in:
@@ -13087,6 +13087,10 @@ void Client::LoadDefaultBotSettings() {
|
||||
LogBotSettingsDetail("{} says, 'Setting default {} [{}] to [{}]'", GetCleanName(), CastToBot()->GetBotSettingCategoryName(BotBaseSettings::IllusionBlock), BotBaseSettings::IllusionBlock, GetDefaultBotSettings(BotSettingCategories::BaseSetting, BotBaseSettings::IllusionBlock)); //deleteme
|
||||
|
||||
for (uint16 i = BotSpellTypes::START; i <= BotSpellTypes::END; ++i) {
|
||||
if (!IsClientBotSpellType(i)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
BotSpellSettings_Struct t;
|
||||
|
||||
t.spellType = i;
|
||||
|
||||
Reference in New Issue
Block a user