Support for TU24 has been extended.

Since the TU25 update still requires a lot of work and the TU24 version does not yet include all the features, I have decided to continue working with the TU24 version for now.

Merge latest changes from Minecraft Consoles:
* Added support for Big-Endian DLCs.
* Fix redstone tick persistence on chunk unload.
* Fix pistons permanently breaking server-wide on dedicated servers.
* Fix Ender Dragon damage and End Poem crash.
* Disable font mipmapping to get rid of artifacts on signs.

Other:
* Music Fixes.
* Added missing sounds (Caves, Horse Eat, Sheep Shear, Water Swim, Thorns)
* Remove duplicated sounds.
* Added High Quality ver of "The End Dragon Alive" music.
* Fix Mobs sounds volume.
* Added Old Swing Animation Option.
* Added Graphics Mode (Potato, Fast, Fancy and Extra)
* Fix a small memory leak with signs.
* Fixed Pig Zombies attacking creative players.
This commit is contained in:
GabsPuNs
2026-03-28 06:27:19 -04:00
parent 9e99b47c9a
commit f79ca9e411
301 changed files with 407 additions and 362 deletions

View File

@@ -33,7 +33,11 @@ bool MultiEntityMobPart::isPickable()
bool MultiEntityMobPart::hurt(DamageSource *source, float damage)
{
return parentMob.lock()->hurt( dynamic_pointer_cast<MultiEntityMobPart>( shared_from_this() ), source, damage);
if (auto parent = parentMob.lock()) {
return parent->hurt(dynamic_pointer_cast<MultiEntityMobPart>(shared_from_this()), source, damage);
}
// If the parent doesn't exist, safely ignore the damage to avoid the Crashing
return false;
}
bool MultiEntityMobPart::is(shared_ptr<Entity> other)