Remove dead comment on GiveCommand (#5241)

This commit is contained in:
IvanCraft623 2022-08-21 18:49:22 -05:00 committed by GitHub
parent f75ca312cc
commit bf8befc40b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,6 @@ class GiveCommand extends VanillaCommand{
if(!isset($args[2])){
$item->setCount($item->getMaxStackSize());
}else{
//TODO: PHP_INT_MAX is probably a bit too much, but I don't know what the vanilla limit is
$count = $this->getBoundedInt($sender, $args[2], 1, 32767);
if($count === null){
return true;