mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-28 15:05:25 +00:00
TU19: merge Minecraft.Client/Platform/Common/Tutorial
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user