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:
@@ -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
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user