FirelandsProject / firelands-cata

This is an open source project, from the emulator version 4.3.4. Log in to the discord for more information: https://discord.com/invite/GZ5rsxumxN
GNU Affero General Public License v3.0
55 stars 45 forks source link

fix (core): change order in HandleLootOpcode #159

Closed acidmanifesto closed 1 year ago

acidmanifesto commented 1 year ago

I just can not understand why we have a check occuring after SendLoot. All checks should be before it in this case. Viewing gitblame, this was last touched back about 13 years ago and with no notes explaining the reasoning. Would love a further explaination in the reason why interrupt cast if statement is occurring after a send loot and not before.

Changes proposed

Issues addressed

SOURCE:

Tests performed

How to Test the Changes:

  1. I am able to craft multiple items with tayloring, and able to loot corpses just fine. cast spells or while crafting does get interrupted when i decide to loot something

Known issues and TODO list