Team Damage
talhanation opened this issue ยท 3 comments
Minecraft Version
No response
ModLoader
No response
Request information
add friendly fire support, by adding this line to onHitEntityMethod(Hitresult)
Entity hitEntity = hitResult.getEntity();
Entity ownerEntity = this.getOwner();
if(ownerEntity.getTeam() != null && ownerEntity.getTeam().isAlliedTo(hitEntity.getTeam()) && !ownerEntity.getTeam().isAllowFriendlyFire()) return;
Other information
No response