mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-02 20:04:47 +00:00
format everything
This commit is contained in:
@@ -49,12 +49,12 @@ std::shared_ptr<ChatPacket> EntityDamageSource::getDeathMessagePacket(
|
||||
}
|
||||
|
||||
if ((held != nullptr) && held->hasCustomHoverName()) {
|
||||
return std::make_shared<ChatPacket>(
|
||||
player->getNetworkName(), m_msgWithItemId, entity->GetType(),
|
||||
additional, held->getHoverName());
|
||||
return std::make_shared<ChatPacket>(player->getNetworkName(),
|
||||
m_msgWithItemId, entity->GetType(),
|
||||
additional, held->getHoverName());
|
||||
} else {
|
||||
return std::make_shared<ChatPacket>(
|
||||
player->getNetworkName(), m_msgId, entity->GetType(), additional);
|
||||
return std::make_shared<ChatPacket>(player->getNetworkName(), m_msgId,
|
||||
entity->GetType(), additional);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user