Bukkit/CraftBukkit — pull request #1050 by SagaciousZed (2013-03-04 02:13:34+00:00)
Title: 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.