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 132
    • Issues 132
    • 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
  • #795

Closed
Open
Created May 19, 2022 by blockutis@blockutis

Kill messages do not work properly with projectiles

Summary

When my mob kills the player using a projectile, the mob's custom kill message is usually not displayed. Instead, "Player died" or sometimes "Player died because of Mob" is shown.

Steps to reproduce

  1. Download latest Paper 1.18.2 version (339)
  2. Download latest free MythicMobs release (v5.0.4)
  3. Start the server
  4. Make a new mob with this config: https://pastebin.com/VkrvMq42
  5. Make a new skill with this config: https://pastebin.com/2ANHC7vL
  6. Restart the server or reload MythicMobs with /mm reload
  7. Spawn the mob with /mm mobs spawn TestMob
  8. Let the mob kill you only with its Projectile skill
  9. "Player died" is printed in chat instead of "Player was shot by Mob"
  • If the mob attacks you normally before it kills you with the Projectile skill, "Player died because of Mob" is printed.

Current behavior

When I spawn in a MythicMob who uses a Projectile skill, and that projectile damages the player when hit, when a player dies from the projectile, instead of the intended death message showing, "Player died" shows instead.

bugReport

Intended correct behavior

When a MythicMob kills a player with a Projectile skill, the player's death message should read "Player was shot by Mob", as I have it set in the config

Server log file

https://pastebin.com/0TJjabVP

Debug log snippet

https://pastebin.com/GVF8M7T9

Edited May 19, 2022 by blockutis
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking