Disable debug message to update local player every call of icon replacement without instantly destroying log file.

This commit is contained in:
attick 2019-10-24 02:16:19 -04:00
parent 3776edb5b4
commit 4ea27ef1c5
2 changed files with 3 additions and 2 deletions

View file

@ -37,8 +37,8 @@ namespace Dalamud.Game.ClientState.Actors {
var actorStruct = Marshal.PtrToStructure<Structs.Actor>(offset);
Log.Debug("ActorTable[{0}]: {1} - {2} - {3}", index, tblIndex.ToString("X"), offset.ToString("X"),
actorStruct.ObjectKind.ToString());
//Log.Debug("ActorTable[{0}]: {1} - {2} - {3}", index, tblIndex.ToString("X"), offset.ToString("X"),
// actorStruct.ObjectKind.ToString());
switch (actorStruct.ObjectKind) {
case ObjectKind.Player: return new PlayerCharacter(actorStruct);

View file

@ -100,6 +100,7 @@ namespace Dalamud.Game.Internal.Gui {
// Don't clutter the spaghetti any worse than it already is.
int lastMove = Marshal.ReadInt32(lastComboMove);
float comboTime = (float)Marshal.ReadInt32(comboTimer);
localCharacter = dalamud.ClientState.LocalPlayer;
byte level = localCharacter.Level;
// DRAGOON