mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
quick fix : Redundant type cast
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user