mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-04 00:59:51 +00:00
Remove dead comment on GiveCommand (#5241)
This commit is contained in:
parent
f75ca312cc
commit
bf8befc40b
@ -76,7 +76,6 @@ class GiveCommand extends VanillaCommand{
|
|||||||
if(!isset($args[2])){
|
if(!isset($args[2])){
|
||||||
$item->setCount($item->getMaxStackSize());
|
$item->setCount($item->getMaxStackSize());
|
||||||
}else{
|
}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);
|
$count = $this->getBoundedInt($sender, $args[2], 1, 32767);
|
||||||
if($count === null){
|
if($count === null){
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user