mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
The piercing damage of arrows/bolts doesn't determine whether an entity has been hit anymore (since it always hits since it's unblockable)
This commit is contained in:
1 parent
011298e0b8
commit
d2b06da1ec
2 files changed
+2
-3
No files matched your search
@@ -101,7 +101,8 @@ public class ArrowEntity extends ProjectileBase {
|
||||
|
||||
//Minecraft.getMinecraft().thePlayer.sendChatMessage("Piercing Damage: " + shift);
|
||||
|
||||
dealtDamage |= entityHit.attackEntityFrom(damagesource, shift);
|
||||
// piercing damage does not affect wether the entity was hit (return value), since it should go through always
|
||||
entityHit.attackEntityFrom(damagesource, shift);
|
||||
}
|
||||
|
||||
return dealtDamage;
|
||||
|
||||
Reference in new issue
Block a user