mirror of
https://github.com/UltimateMenu/UltimateMenu.git
synced 2025-09-19 03:56:06 +08:00
small fix
it will just return to online character slot one so it will fix the mpx nil error.
This commit is contained in:
@ -4,8 +4,10 @@ local function MPX()
|
||||
local PI = stats.get_int("MPPLY_LAST_MP_CHAR")
|
||||
if PI == 0 then
|
||||
return "MP0_"
|
||||
else
|
||||
elseif PI == 1 then
|
||||
return "MP1_"
|
||||
else
|
||||
return "MP0_"
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user