quick fix : Redundant type cast

This commit is contained in:
Alexdoru committed 2023-01-25 23:57:49 +01:00
1 parent e2f185ad35
commit 144d336f5e
84 files changed
+426 -434

No files matched your search

@@ -26,8 +26,8 @@ public class SoilBlock extends TConstructBlock {
if (metadata == 3) {
((EntityLivingBase) entity).heal(1);
} else if (metadata == 4) {
((EntityLivingBase) entity).attackEntityFrom(DamageSource.magic, 1);
((EntityLivingBase) entity).setFire(1);
entity.attackEntityFrom(DamageSource.magic, 1);
entity.setFire(1);
}
}
}