This commit is contained in:
2024-06-26 22:56:43 +09:00
parent fa20109cb6
commit 1ff9289486

View File

@@ -35,10 +35,9 @@ if settings.startup['PHI-PB'].value then
game.print('Command Error')
return
end
local bonus = tonumber(command.parameter)
if type(command.parameter) ~= 'number' then
if type(bonus) ~= 'number' then
player.print('Parameter need to be number')
return
end