mirror of
https://github.com/UltimateMenu/UltimateMenu.git
synced 2025-01-05 00:53:39 +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:
parent
9663c47911
commit
86a905d7dd
@ -4,8 +4,10 @@ local function MPX()
|
|||||||
local PI = stats.get_int("MPPLY_LAST_MP_CHAR")
|
local PI = stats.get_int("MPPLY_LAST_MP_CHAR")
|
||||||
if PI == 0 then
|
if PI == 0 then
|
||||||
return "MP0_"
|
return "MP0_"
|
||||||
else
|
elseif PI == 1 then
|
||||||
return "MP1_"
|
return "MP1_"
|
||||||
|
else
|
||||||
|
return "MP0_"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user