mirror of
https://github.com/UltimateMenu/UltimateMenu.git
synced 2025-09-19 20:26:35 +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")
|
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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user