Fix failing test

related to https://github.com/Bukkit/Bukkit/pull/1006