mojira.dev
MC-308517

Players are able to damage non-player entitys on the same team even if friendly fire is off

Short description of the issue:

If a player is on a team with friendly fire set to false, and attempts to attack another entity on their team (like a sheep), the attack will still do damage.

Steps to reproduce the issue:

  1. Create or join a team

  2. Make sure the team has friendly fire set to false

  3. Add an entity to the team

  4. Attack the previously mentioned entity

Expected result:

The attack does not deal any damage and leaves the entity unharmed.

Actual result:

The attack did do damage and can be lethal often of damage is dealt.

Edit:

When I recorded the first video I forgot to turn off my resource packs. There should be a second video in the comments where turn them off. Sorry

Environment

The bug appears to be happening on older versions as well.

Linked issues

Attachments

Comments 3

Thank you for helping us improve Minecraft! We saved your files:

[media]

Heres a video of the bug where I remember to turn off my resource packs before recording.

Thank you for your report!
We're tracking this issue in MC-256020, so this ticket is being resolved and linked as a Duplicate.

If you would like to add a vote and any extra information to the main ticket, it would be appreciated.

If you haven't already, please make use of the search feature to see if an issue you are about to report has already been reported.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Liam Alonso-Diaz

(Unassigned)

Unconfirmed

26.1.2, 26.2 Pre-Release 2

Retrieved