TU19: merge Minecraft.Client/Platform/Common/Tutorial

This commit is contained in:
Tropical
2026-03-22 03:51:48 -05:00
parent 86c3e12e7b
commit 58cdba39f3
17 changed files with 717 additions and 129 deletions

View File

@@ -53,7 +53,7 @@ int DiggerItemHint::attack(std::shared_ptr<ItemInstance> item,
if (itemFound) {
// It's also possible that we could hit TileEntities (eg falling
// sand) so don't want to give this hint then
if (std::dynamic_pointer_cast<Mob>(entity) != NULL) {
if (entity->instanceof(eTYPE_MOB)) {
return IDS_TUTORIAL_HINT_ATTACK_WITH_TOOL;
} else {
return -1;