geforkt von Mirrors/Paper
25c4255d7c
Currently, plugins can set a player's display name to null, which could cause issues for other calls to getDisplayName that aren't expecting a null value. This changes setDisplayName to follow the same logic as setPlayerListName, which sets the player's name back to their unmodified "vanilla" name if it receives a null value as a parameter. By: GJ <gjmcferrin@gmail.com>