Get the bukkit object before casting it