Remove Pet Death Messages

Discussion in 'Spigot Plugin Development' started by nokoa, Jun 12, 2016.

  1. Every-time my wolf dies I am sent a death message for that wolf.

    How can I remove these messages?

    [​IMG]
     
  2. You could listen for the EntityDeathEvent, & despawn the wolf instead of letting it die. Alternatively, listen for the chat packet sent to the player with ProtocolLib and cancel it. You could also try the showDeathMessages gamerule.
     
    • Useful Useful x 1