topaz-next / topaz

💎 A server emulator for Final Fantasy XI.
GNU General Public License v3.0
55 stars 80 forks source link

Fixed Pandemonium Warden error preventing phase change #2678

Closed DFPercush closed 3 years ago

DFPercush commented 3 years ago

…a local function below call site, moved above. Recent changes with lua/sol appear to have caused handlePet() to be nil when it is called from onMobFight(), causing it to error and terminate early before it can switch phases. Simple fix, just move it higher in the file.

I affirm: [x] that I agree to Topaz Next's Limited Contributor License Agreement, as written on this date [x] that I have read the Contributing Guide and the Code of Conduct [x] that I've tested my code since the last commit in the PR, and will test after any later commits