refactor: unglob std::dynamic_pointer_cast

This commit is contained in:
Tropical
2026-03-08 22:44:00 +01:00
committed by JuiceyDev
parent 39a359ca56
commit 66248339e5
204 changed files with 603 additions and 603 deletions
+1 -1
View File
@@ -216,7 +216,7 @@ void ItemInstance::hurt(int i, std::shared_ptr<Mob> owner)
return;
}
std::shared_ptr<Player> player = dynamic_pointer_cast<Player>(owner);
std::shared_ptr<Player> player = std::dynamic_pointer_cast<Player>(owner);
if (i > 0 && player != NULL)
{
int enchanted = EnchantmentHelper::getDigDurability(player->inventory);