Validate API input, addresses BUKKIT-3687.

CraftServer methods that implement the Server interface will throw an
IllegalArgumentException if a null value makes no sense as an
input to the method.