Iron's Spells 'n Spellbooks

Iron's Spells 'n Spellbooks

11M Downloads

[Bug] Error with "Root Spell", "Blessing Life" and "Healing Circle" Spell

RenovatedStudios opened this issue ยท 1 comments

commented

Observed behaviour

  1. The bug with Healing circle and Blessing of life spell happens when you are on a server and 2 players are on different teams, for example:
    1 player is on the red team and another player is on the blue team.
    The bug is that despite being on different teams, these spells can be used on the enemy.
    I mean, even though I'm on the blue team, I can heal the enemy players on the red team, which is super unfair and the players use it to troll the game by healing the enemies.

  2. The error with the Root spell is that if 2 players are on the same team (Example, the blue team) and we deactivate the friendly fire gamerule, despite friendly fire being deactivated, allied players can be rooted, which which should not be possible either since players use it to troll their own team.

Expected behaviour

  1. What I hope by solving the bug with the "Healing circle" and the "blessing of life" spell is that it can only be used to heal allied players on the same team and not on an enemy team.

  2. What I hope by solving the bug with the "Root spell" is that if both players are on the same team and the friendly fire gamerule is disabled, the allied players on the team cannot be rooted.

Steps to reproduce

  1. Play on a server
  2. Play with /team, with at least 2 teams created
  3. Use the spells "Blessing of life", "Healing circle" and "Root Spell"

Server Type

Dedicated Server

Crashlog

No response

Iron's Spells N Spellbooks version

irons_spellbooks-1.20.1-2.1.2

Forge version

forge 1.20.1-47.1.0

Other mods

No response

commented

We have confirmed that the effect healing spells do not apply to members of opposing teams. However, you can still target any entity with a targeted spell, but effects like healing circle or fortify will not apply to them.