Renaming a call to patch new errors.

The bukkit devs renamed a new function and didn't leave a mirror method for plugins already using it. This breaks plugins already using the call.