Fix for VANILLA-251. Also made the /hunger command work on server mode.

Signed-off-by: William Lebel <lebelwilliam@gmail.com>