diff --git a/hwe/func_converter.php b/hwe/func_converter.php index 23abc958..8969efab 100644 --- a/hwe/func_converter.php +++ b/hwe/func_converter.php @@ -666,7 +666,7 @@ function getDexCall(int $dex) : string { function getDexLevel(int $dex) : int { if($dex < 0){ - throw new \InvalidArgumentException(); + return 0; } $retVal = 0;