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 145
    • Issues 145
    • 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
  • #1552

Closed
Open
Created Mar 25, 2024 by PaVcheck@LOCNetwork

[BUG] Mobs custom death messages not displayed when damaged from different sources

Server version: Paper 1.19.4

MythicMobs version: 5.6.1

Summary

I found out that specific mobs Death Messages in Mythicmobs stop working when there is something more than the mob damaging the player at the same time. For example, if there is a mob called "FireMob" and it ignites the player when hitting them, as there is the mob and the fire damaging the player at the same time, the death message of the FireMob will not be displayed, instead, the vanilla " was burned when escaping " will display.

Steps to reproduce

  1. Have a mob with a custom kill message
  2. Give the mob the ability to ignite when hitting the player (so it is easier to reproduce)
  3. Get killed by the mob and the vanilla death message will display instead.

Current behavior

The vanilla death message is showing in chat instead of the custom mob's death message.

Intended correct behavior

The vanilla death message should be overrided by the custom mob's death message .

Server log file

No logs or errors in console.

Proposed fixes

The issue is that the plugin is incorrectly detecting how the player dies. For example, if a player dies from a custom mob and fire, it should display the custom mob death message and not the vanilla "was burned when escaping" death message. It also happens with other sources, for example, if a player hits you and then a custom mob with a custom kill message kills you, it will just show the vanilla death message " was slained by ".

Edited May 12, 2024 by PaVcheck
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking