mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-10 21:45:35 +00:00
Remove unnecessary ternary operator (#5493)
This commit is contained in:
parent
2e9a3f9160
commit
c6e11a8453
@ -91,7 +91,7 @@ final class ItemStackResponseBuilder{
|
|||||||
$slotId,
|
$slotId,
|
||||||
$item->getCount(),
|
$item->getCount(),
|
||||||
$itemStackInfo->getStackId(),
|
$itemStackInfo->getStackId(),
|
||||||
$item->hasCustomName() ? $item->getCustomName() : "",
|
$item->getCustomName(),
|
||||||
0
|
0
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user