Changelog:
* Small fix for BUKKIT-4004
(https://bukkit.atlassian.net/browse/BUKKIT-4004).