Misc fixes
This commit is contained in:
@@ -2021,7 +2021,7 @@ namespace Game.AI
|
||||
|
||||
if (e.Action.activateGameObject.gameObjectAction >= (uint)GameObjectActions.Max)
|
||||
{
|
||||
Log.outError(LogFilter.Sql, $"SmartAIMgr: {e} has gameObjectAction parameter out of range (max allowed {(uint)GameObjectActions.Max}, current value {e.Action.activateGameObject.gameObjectAction}), skipped.");
|
||||
Log.outError(LogFilter.Sql, $"SmartAIMgr: {e} has gameObjectAction parameter out of range (max allowed {(uint)GameObjectActions.Max - 1}, current value {e.Action.activateGameObject.gameObjectAction}), skipped.");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -1148,8 +1148,8 @@ namespace Game.BattleGrounds.Zones
|
||||
public const uint AllianceLostBloodElfTower = 17831;
|
||||
public const uint HordeLostBloodElfTower = 17832;
|
||||
|
||||
public const uint AllianceTakenDraeneiRuins = 17826;
|
||||
public const uint HordeTakenDraeneiRuins = 17827;
|
||||
public const uint AllianceTakenDraeneiRuins = 17827;
|
||||
public const uint HordeTakenDraeneiRuins = 17826;
|
||||
public const uint AllianceLostDraeneiRuins = 17833;
|
||||
public const uint HordeLostDraeneiRuins = 17834;
|
||||
|
||||
|
||||
@@ -111,8 +111,6 @@ namespace Game.Chat
|
||||
if (!playerTarget)
|
||||
playerTarget = player;
|
||||
|
||||
Log.outDebug(LogFilter.Server, Global.ObjectMgr.GetCypherString(CypherStrings.Additem), itemId, count);
|
||||
|
||||
ItemTemplate itemTemplate = Global.ObjectMgr.GetItemTemplate(itemId);
|
||||
if (itemTemplate == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user