Bug Verified

OwnerAttack / OwnerTarget Disappears bug

#6710 opened by Unknown 10 months ago

Unknownreported this bug

Summary

The moment you create a mob that has the AITargetSelectors "OwnerAttacker" and/or "OwnerTarget", and the mob has an owner, and its owner attacks or is attacked, the mob will disappear.

MC Version: 1.21.8 Server: Paper MM Version: 5.10.0 Premium: No Java: 21

Steps to reproduce

Disappears when owned (Most of the time)

  1. Create a mob with AITargetSelectors "OwnerAttacker" and/or "OwnerTarget".
  2. Create a Skill "TestSkillOwner" that works "~onInteract" with "@Trigger".
  3. The Skill should place the Trigger as its owner with the Skill "-setowner".
  4. The owner must attack or be attacked, the mob will disappear and throw a console error. Or the mob will disappear once it gets an owner..

Disappears when owned (Only when the owner takes damage by entity or the owner attacks another entity)

  1. Create a mob. (MOB https://pastebin.com/6jrQpn62) (SKILLS https://pastebin.com/9mifVez6)
  2. Create a Skill "TestSkillOwner" that works "~onInteract" with "@Trigger".
  3. The Skill should place the Trigger as its owner with the Skill "-setowner".
  4. Create a Skill "TestSkill" que funcione hacia él mismo cada 100 ticks.
  5. The Skill will only work if the mob caster has an owner.
  6. The Skill will use the "runaitargetselector" mechanic and will place clear, attacker, OwnerAttacker, OwnerTarget.
  7. The owner must attack or be attacked, the mob will disappear and throw a console error.

Current behavior

The mob disappears.

Intended correct behavior

The mob attacks the attacked entity or Owner's attacker.

Server log file

https://pastebin.com/AVKj446y

Unknowncommented

I verified this by: spawning 2 of the following

Caballero:
  Type: ZOMBIE
  Display: '&6Caballero'
  Health: 20
  Damage: 4
  Modules:
    ThreatTable: true
  Faction: Knights
  Equipment:
  - AIR HAND
  Options:
    Despawn: false
    MovementSpeed: 0.2
    FollowRange: 32
    KnockbackResistance: 0.2
    PreventOtherDrops: true
    PreventRenaming: true
    PreventItemPickup: false
    PreventSunburn: true
    PreventConversion: true
    AlwaysShowName: true
    Silent: true
  AIGoalSelectors:
  - clear
  - meleeattack
  - randomstroll
  - lookatplayers
  - float
  AITargetSelectors:
  - clear
  - attacker
  - OwnerAttacker
  - OwnerTarget
  Skills:
  - setOwner ~onInteract 

interacting with one, and attacking the other. https://pastebin.com/67Us6Z1f is the resulting error in console, and the mob is gone

Unknowncommented

Is this dev team really incapable of fixing a bug that has been in the plugin for over 2 months? You want me to pay for this plugin and you are incapable of fixing bugs?

Unknowncommented

This issue was fixed months ago

Sign in to join the discussion.