added Error handling for some 1.5 API features; should run on 1.4.7 bukkit now