Remove unnecessary ternary operator (#5493)

This commit is contained in:
IvanCraft623 2023-01-04 18:22:31 -05:00 committed by GitHub
parent 2e9a3f9160
commit c6e11a8453
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@ final class ItemStackResponseBuilder{
$slotId,
$item->getCount(),
$itemStackInfo->getStackId(),
$item->hasCustomName() ? $item->getCustomName() : "",
$item->getCustomName(),
0
);
}