Adapt to CraftBukkit 1.6.2.