fix compatible with craftbukkit/cauldron server 1.7