Changed
if(!isset($args[0]) or (is_int($args[0]) and $args[0] > 0)) ----> if(!isset($args[0]) or !is_int($args[0]) and $args[0] <= 0)) (line 115)
Before this change instead of only giving 1 item when you type a string instead of a int, it crashes you from the server saying "Internal server error" and lists some error in the console about items not being allowed to be given in an amount that isn't an int.
Changed if(!isset($args[0]) or (is_int($args[0]) and $args[0] > 0)) ----> if(!isset($args[0]) or !is_int($args[0]) and $args[0] <= 0)) (line 115)
Before this change instead of only giving 1 item when you type a string instead of a int, it crashes you from the server saying "Internal server error" and lists some error in the console about items not being allowed to be given in an amount that isn't an int.