From 1ff9289486932ae4dbdbc7b16291ebd67f4884e4 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Wed, 26 Jun 2024 22:56:43 +0900 Subject: [PATCH] . --- PHI-CL/control.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/PHI-CL/control.lua b/PHI-CL/control.lua index 940d09d..210920c 100644 --- a/PHI-CL/control.lua +++ b/PHI-CL/control.lua @@ -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