Skip to content

Commit

Permalink
[VM] Remove Debug Log
Browse files Browse the repository at this point in the history
  • Loading branch information
riperiperi committed Aug 29, 2019
1 parent e2ba2b7 commit 5c02218
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ public override bool Execute(VM vm)
if (ID != 0)
{
VMEntity obj = vm.GetObjectById(ID);
Console.WriteLine($"INVENTORY STATE (new): {DebugUtils.LogObject(State)}");
if (obj != null && obj.Thread.BlockingState != null) Console.WriteLine($"INVENTORY STATE (old): {DebugUtils.LogObject(obj.Thread.BlockingState)}");
else Console.WriteLine("OLD INVENTORY STATE NOT PRESENT!");
//we can only update an object's blocking state if it exists and is of the same type exactly.
if (obj == null || obj.Thread.BlockingState == null || obj.Thread.BlockingState.GetType() != type) return false;
obj.Thread.BlockingState = State;
Expand Down

0 comments on commit 5c02218

Please sign in to comment.