fix: Change string ID for Elder Guardian entity

The string identifier for the Elder Guardian entity was set
to `IDS_GUARDIAN_ELDER`. This has been changed to the
consistent identifier `IDS_ELDER_GUARDIAN`.

Additionally, the localization file has been updated to include the
missing string definitions for both `IDS_GUARDIAN` and
`IDS_ELDER_GUARDIAN`
This commit is contained in:
George V. 2026-04-13 22:43:19 +03:00
parent ac7a207597
commit c2c4eb6ea8
No known key found for this signature in database
GPG key ID: 1DB61094F2DD4982
2 changed files with 9 additions and 1 deletions

View file

@ -9338,6 +9338,14 @@ All Ender Chests in a world are linked. Items placed into an Ender Chest are acc
<data name="IDS_ENDERMITE">
<value>Endermite</value>
</data>
<data name="IDS_GUARDIAN">
<value>Guardian</value>
</data>
<data name="IDS_ELDER_GUARDIAN">
<value>Elder Guardian</value>
</data>
<data name="IDS_ITEM_WRITTENBOOK">
<value>Written Book</value>

View file

@ -46,7 +46,7 @@ void EntityIO::staticCtor()
{
setId(ItemEntity::create, eTYPE_ITEMENTITY, L"Item", 1);
setId(ExperienceOrb::create, eTYPE_EXPERIENCEORB, L"XPOrb", 2);
setId(Guardian::create, eTYPE_ELDER_GUARDIAN, L"ElderGuardian", 4, eMinecraftColour_Mob_ElderGuardian_Colour1, eMinecraftColour_Mob_ElderGuardian_Colour2, IDS_GUARDIAN_ELDER);
setId(Guardian::create, eTYPE_ELDER_GUARDIAN, L"ElderGuardian", 4, eMinecraftColour_Mob_ElderGuardian_Colour1, eMinecraftColour_Mob_ElderGuardian_Colour2, IDS_ELDER_GUARDIAN);
setId(LeashFenceKnotEntity::create, eTYPE_LEASHFENCEKNOT, L"LeashKnot", 8);
setId(Painting::create, eTYPE_PAINTING, L"Painting", 9);
setId(Arrow::create, eTYPE_ARROW, L"Arrow", 10);