9
0
mirror of https://github.com/Samsuik/Sakura.git synced 2025-12-19 14:59:30 +00:00

Fix iron golem take fall damage causing a crash

This commit is contained in:
Samsuik
2025-04-07 15:49:32 +01:00
parent 9b5339f0bf
commit bd607926a9

View File

@@ -7,7 +7,7 @@
+ // Sakura start - configure iron golems taking fall damage
+ @Override
+ protected final boolean isFallDamageImmune() {
+ return !this.level().sakuraConfig().entity.ironGolemsTakeFalldamage && this.isFallDamageImmune();
+ return !this.level().sakuraConfig().entity.ironGolemsTakeFalldamage && super.isFallDamageImmune();
+ }
+ // Sakura end - configure iron golems taking fall damage
+