Possibly fix dark magic NPE

Please, somebody put away their Bukkit-shaped voodoo doll.