mojira.dev
MC-11605

Certain death message will print "null" as the player/mob name that caused the death

How to reproduce: Give yourself a renamed sword, use it to hit another player off a ledge so that he will die from fall damage. The death message will read "null" instead of your name. Alternatively, give a zombie/skeleton a renamed weapon and have it attack you, then jump off to certain death by fall damage. Again, the death message will read "null" instead of the mob's name:

player was doomed to fall by null using itemName

Note: This issue does not occur when the item is not named and therefore will not be printed out.

Linked issues

Attachments

Comments 7

We just had this happen to us.
Here is a screenshot of the death message with null instead of the players name.
http://i.imgur.com/wwCDUy4.png

They were using a named sword.

Please force a crash by pressing F3 + C for 10 seconds while ingame and attach the crash report here.

I can confirm this as well.

I can confirm the one about the mob in 1.5.1.

I can confirm about the doom to fall by null using a renamed tool.

[Mod] redstonehelper

Nathan Adams

Confirmed

death-message

Minecraft 1.5, Minecraft 1.5.1

Snapshot 13w21b

Retrieved