pub fn set_difficulty(pid: u16, difficulty: i16)Expand description
Set the difficulty for a player.
This changes the difficulty for that player in the server memory, but does not by itself
send a packet.
pid The player ID.
difficulty The difficulty.
Returns void