Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 149
    • Issues 149
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #849

Closed
Open
Created Jul 01, 2022 by Ghost User@ghost

Calling placeholder <caster.owner.name> on a disguised wolf shows "Wolf" as the owner name instead of player name.

Summary

I made a very simple Wolf disguised as a Drowned, when it spawns I use setOwner to the nearest player, all works so far, and it acts as if I am indeed the owner. However, and you can test this using the pastebin file, when I call on <caster.owner.name> to rename the mob a little after spawn (using setName) instead of getting what translates into English as "Guardian of [owner name]" I am getting "Guardian of Wolf" as the display name. Same thing happens when I call on this placeholder in the KillMessage to show who's guardian killed a player, i get "Guardian of Wolf".

Steps to reproduce

The simple exact mob I was using when I came across the bug:

https://pastebin.com/MgkpSGYA

Current behavior

The placeholder shows Wolf.

Intended correct behavior

The placeholder should show the name of the player that spawned them, as it was the one nearest and set as the owner.

Proposed fixes

Not really sure what to propose, I'm pretty sure it's related to the fact it is a disguised wolf since it's getting replaced with the mob name.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking